public function getAllTypoScript()
{
if (!$this->configurationManager instanceof BackendConfigurationManager) {
$typoScript = (array) $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
$typoScript = GeneralUtility::removeDotsFromTS($typoScript);
return $typoScript;
} else {
$pageId = $this->configurationManager->getCurrentPageId();
if (FALSE === isset(self::$typoScript[$pageId])) {
self::$typoScript[$pageId] = (array) $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
self::$typoScript[$pageId] = GeneralUtility::removeDotsFromTS(self::$typoScript[$pageId]);
}
return (array) self::$typoScript[$pageId];
}
}