core-bundle/src/Resources/contao/forms/FormHidden.php
public function generate()
	{
		return sprintf('<input type="hidden" name="%s" value="%s"%s',
						$this->strName,
						StringUtil::specialchars($this->varValue),
						$this->strTagEnding);
	}
public function generate()
	{
		return sprintf('<input type="hidden" name="%s" value="%s"%s',
						$this->strName,
						StringUtil::specialchars($this->varValue),
						$this->strTagEnding);
	}
Generate the widget and return it as string

@return string The widget markup