/** * Initialize actions * * @throws \RuntimeException * @return void */ public function initializeAction() { $this->pageId = intval(GeneralUtility::_GP('id')); // Validate settings TypoScriptValidator::validateSettings($this->settings); }
/** * Validate TypoScript settings * * @return void * @throw TYPO3\T3extblog\Exception\InvalidConfigurationException */ protected function validateTypoScriptConfiguration() { TypoScriptValidator::validateSettings($this->settings); $frameworkConfiguration = $this->configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK, $this->request->getControllerExtensionName(), $this->request->getPluginName()); TypoScriptValidator::validateFrameworkConfiguration($frameworkConfiguration); }