Contao\DataContainer::help PHP Method

help() public method

Return the field explanation as HTML string
public help ( string $strClass = '' ) : string
$strClass string
return string
    public function help($strClass = '')
    {
        $return = $GLOBALS['TL_DCA'][$this->strTable]['fields'][$this->strField]['label'][1];
        if (!\Config::get('showHelp') || $GLOBALS['TL_DCA'][$this->strTable]['fields'][$this->strField]['inputType'] == 'password' || $return == '') {
            return '';
        }
        return '
  <p class="tl_help tl_tip' . $strClass . '">' . $return . '</p>';
    }