Contao\Frontend::prepareMetaDescription PHP Метод

prepareMetaDescription() защищенный Метод

Prepare a text to be used in the meta description tag
protected prepareMetaDescription ( string $strText ) : string
$strText string
Результат string
    protected function prepareMetaDescription($strText)
    {
        $strText = $this->replaceInsertTags($strText, false);
        $strText = strip_tags($strText);
        $strText = str_replace("\n", ' ', $strText);
        $strText = \StringUtil::substr($strText, 180);
        return trim($strText);
    }