public function __construct(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObjectRenderer) { parent::__construct($contentObjectRenderer); $this->view = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Fluid\\View\\StandaloneView'); }
/** * @param ContentObjectRenderer $cObj */ public function __construct(ContentObjectRenderer $cObj) { parent::__construct($cObj); $this->contentDataProcessor = GeneralUtility::makeInstance(ContentDataProcessor::class); }
/** * Constructor */ public function __construct(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObjectRenderer) { parent::__construct($contentObjectRenderer); }