Contao\FormRadioButton::generateWithError PHP Метод

generateWithError() публичный Метод

Override the parent method and inject the error message inside the fieldset (see #3392)
public generateWithError ( boolean $blnSwitchOrder = false ) : string
$blnSwitchOrder boolean If true, the error message will be shown below the field
Результат string The form field markup
    public function generateWithError($blnSwitchOrder = false)
    {
        $this->strError = $this->getErrorAsHTML();
        return $this->generate();
    }