protected function getLabelComment(ModelInterface $model, TranslatorInterface $translator)
    {
        if ($model->getProperty('comment')) {
            return sprintf(
                $translator->translate('typedesc._comment_', 'tl_metamodel_filtersetting'),
                StringUtil::specialchars($model->getProperty('comment'))
            );
        }
        return '';
    }
protected function getLabelComment(ModelInterface $model, TranslatorInterface $translator)
    {
        if ($model->getProperty('comment')) {
            return sprintf(
                $translator->translate('typedesc._comment_', 'tl_metamodel_filtersetting'),
                StringUtil::specialchars($model->getProperty('comment'))
            );
        }
        return '';
    }
protected function getLabelComment ( ModelInterface $ model , TranslatorInterface $ translator ) { if ( $ model -> getProperty ( 'comment' ) ) { return sprintf ( $ translator -> translate ( 'typedesc._comment_' , 'tl_metamodel_filtersetting' ) , StringUtil :: specialchars ( $ model -> getProperty ( 'comment' ) ) ) ; } return '' ; }
Retrieve the comment for the label.

@param ModelInterface      $model      The filter setting to render.
@param TranslatorInterface $translator The translator in use.

@return string
Retrieve the comment for the label .