revision 20177b97bd421d5b20d1cbeba74f9c41f670c961
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'];