[BUGFIX] Streamline deprecation messages
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Service / ExtensionService.php
index 9b148c7..70a0de0 100644 (file)
@@ -238,7 +238,7 @@ class ExtensionService implements \TYPO3\CMS\Core\SingletonInterface
         // Legacy location
         $settings = $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS, $extensionName);
         if (isset($settings['view']['formatToPageTypeMapping']) && is_array($settings['view']['formatToPageTypeMapping'])) {
-            trigger_error('Extension "' . $extensionName . '": Defining settings.view.formatToPageTypeMapping will be removed in TYPO3 10. Move definition to view.formatToPageTypeMapping.');
+            trigger_error('Extension "' . $extensionName . '": Defining settings.view.formatToPageTypeMapping will be removed in TYPO3 10. Move definition to view.formatToPageTypeMapping.', E_USER_DEPRECATED);
             $formatToPageTypeMapping = $settings['view']['formatToPageTypeMapping'];
         }
         // Default behaviour