typo3 - How can I access the content variable from within Extbase extension when called by postuserfunc? -
as dokumented in api.typo3.org content parameter of bootstrap->run not used. need way process content within extbase extension.
the extension called by:
page = page page { stdwrap { htmlspecialchars = 0 postuserfunc = typo3\cms\extbase\core\bootstrap->run postuserfunc { extensionname = myextension pluginname = pi1 controller = firstcontroller vendorname = mycompany action = list } } ......
how can access (postuserfunc-)content? tried use contentobject, couldn't find content anywhere.
$this->configurationmanager->getcontentobject()
is there workaround?
cheers wirsing
i'm assuming want @ cobject record? you're there:
$contentrecord = $this->configurationmanager->getcontentobject()->data;
Comments
Post a Comment