diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php index 87cd00702bf46888644bcd6282ea81153f169c52..4f78f20a0694ceacd8c9782516ea164ed68c23aa 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php @@ -573,6 +573,7 @@ class NewContentElementController /** * @param string $filename * @return StandaloneView + * @throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidExtensionNameException */ protected function getFluidTemplateObject(string $filename = 'Main.html'): StandaloneView { @@ -582,4 +583,44 @@ class NewContentElementController $view->getRequest()->setControllerExtensionName('Backend'); return $view; } + + /** + * Provide information about the current page making use of the wizard + * + * @return array + */ + public function getPageInfo(): array + { + return $this->pageInfo; + } + + /** + * Provide information about the column position of the button that triggered the wizard + * + * @return int|null + */ + public function getColPos(): ?int + { + return $this->colPos; + } + + /** + * Provide information about the language used while triggering the wizard + * + * @return int + */ + public function getSysLanguage(): int + { + return $this->sys_language; + } + + /** + * Provide information about the element to position the new element after (uid) or into (pid) + * + * @return int + */ + public function getUidPid(): int + { + return $this->uid_pid; + } }