TYPO3 extbase: Page UID and content element UID

revision 20177b97bd421d5b20d1cbeba74f9c41f670c961

raw

README.rst

Access the current page's ID and content element ID in an exbase controller action:

$contentObj = $this->configurationManager->getContentObject();
$pageUid = $contentObj->data['pid'];
$contentElementUid = $contentObj->data['uid'];

History