src/Helpers/FormRenderer.php
protected function renderDescription($text, $isFieldset = false)
    {
        $output = '';

        // Help text.
        if (!empty($text)) {
            // Allow for links in the help text, so no filtering anymore.
            $wrapperType = $isFieldset ? 'fieldsetDescription' : 'description';
            $output .= $this->getWrapper($wrapperType);
            $output .= $text;
            $output .= $this->getWrapperEnd($wrapperType);
        }

        return $output;
    }
protected function renderDescription($text, $isFieldset = false)
    {
        $output = '';

        // Help text.
        if (!empty($text)) {
            // Allow for links in the help text, so no filtering anymore.
            $wrapperType = $isFieldset ? 'fieldsetDescription' : 'description';
            $output .= $this->getWrapper($wrapperType);
            $output .= $text;
            $output .= $this->getWrapperEnd($wrapperType);
        }

        return $output;
    }
protected function renderDescription ( $ text , $ isFieldset = false ) { $ output = '' ; // Help text. if ( ! empty ( $ text ) ) { // Allow for links in the help text, so no filtering anymore. $ wrapperType = $ isFieldset ? 'fieldsetDescription' : 'description' ; $ output .= $ this -> getWrapper ( $ wrapperType ) ; $ output .= $ text ; $ output .= $ this -> getWrapperEnd ( $ wrapperType ) ; } return $ output ; }
Renders a descriptive help text.

@param string $text
@param bool $isFieldset

@return string
The rendered description.
Renders a descriptive help text .