예제 #1
0
 /**
  * Initialize actions
  *
  * @throws \RuntimeException
  * @return void
  */
 public function initializeAction()
 {
     $this->pageId = intval(GeneralUtility::_GP('id'));
     // Validate settings
     TypoScriptValidator::validateSettings($this->settings);
 }
예제 #2
0
 /**
  * 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);
 }