MetaModels\FrontendIntegration\FrontendFilter::generateContentElement PHP Method

generateContentElement() protected method

Render a content element.
protected generateContentElement ( string $content, string $replace, integer $contentId ) : string
$content string The html content in which to replace.
$replace string The string within the html to be replaced.
$contentId integer The id of the content element to be inserted for the replace string.
return string
    protected function generateContentElement($content, $replace, $contentId)
    {
        return $this->generateElement('tl_content', $content, $replace, $contentId);
    }