‪TYPO3CMS  9.5
TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface:
TYPO3\CMS\Core\SingletonInterface TYPO3\CMS\Extbase\Configuration\ConfigurationManager TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManagerInterface TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManager TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManager

Public Member Functions

 setContentObject (\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject=null)
 
TYPO3 CMS Frontend ContentObject ContentObjectRenderer getContentObject ()
 
array getConfiguration ($configurationType, $extensionName=null, $pluginName=null)
 
 setConfiguration (array $configuration=[])
 
bool isFeatureEnabled ($featureName)
 

Public Attributes

const CONFIGURATION_TYPE_FRAMEWORK = 'Framework'
 
const CONFIGURATION_TYPE_SETTINGS = 'Settings'
 
const CONFIGURATION_TYPE_FULL_TYPOSCRIPT = 'FullTypoScript'
 

Detailed Description

Class ConfigurationManagerInterface

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 21 of file ConfigurationManagerInterface.php.

Member Function Documentation

◆ getConfiguration()

array TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::getConfiguration (   $configurationType,
  $extensionName = null,
  $pluginName = null 
)

Returns the specified configuration. The actual configuration will be merged from different sources in a defined order.

Note that this is a low level method and only makes sense to be used by Extbase internally.

Parameters
string$configurationType‪The kind of configuration to fetch - must be one of the CONFIGURATION_TYPE_* constants
string$extensionName‪if specified, the configuration for the given extension will be returned.
string$pluginName‪if specified, the configuration for the given plugin will be returned.
Returns
‪array The configuration

Implemented in TYPO3\CMS\Extbase\Configuration\ConfigurationManager, and TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManager.

Referenced by TYPO3\CMS\Fluid\View\TemplatePaths\getContextSpecificViewConfiguration(), TYPO3\CMS\Form\Domain\Finishers\ConfirmationFinisher\injectConfigurationManager(), TYPO3\CMS\Extbase\Mvc\Controller\AbstractController\injectConfigurationManager(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\loadTypoScriptLabels(), and TYPO3\CMS\Form\Service\TranslationService\loadTypoScriptLabels().

◆ getContentObject()

TYPO3 CMS Frontend ContentObject ContentObjectRenderer TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::getContentObject ( )

Get the content object

Returns
‪\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer

Implemented in TYPO3\CMS\Extbase\Configuration\ConfigurationManager.

◆ isFeatureEnabled()

bool TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::isFeatureEnabled (   $featureName)

Returns TRUE if a certain feature, identified by $featureName should be activated, FALSE for backwards-compatible behavior.

This is an INTERNAL API used throughout Extbase and Fluid for providing backwards-compatibility. Do not use it in your custom code!

Parameters
string$featureName
Returns
‪bool

Implemented in TYPO3\CMS\Extbase\Configuration\ConfigurationManager.

◆ setConfiguration()

TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::setConfiguration ( array  $configuration = [])

Sets the specified raw configuration coming from the outside. Note that this is a low level method and only makes sense to be used by Extbase internally.

Parameters
array$configuration‪The new configuration

Implemented in TYPO3\CMS\Extbase\Configuration\ConfigurationManager.

◆ setContentObject()

TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::setContentObject ( \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer  $contentObject = null)
Parameters
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer$contentObject

Implemented in TYPO3\CMS\Extbase\Configuration\ConfigurationManager.

Member Data Documentation

◆ CONFIGURATION_TYPE_FRAMEWORK

const TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK = 'Framework'

Definition at line 23 of file ConfigurationManagerInterface.php.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory\buildDataMapInternal(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\clearCacheOnError(), TYPO3\CMS\Extbase\Tests\Unit\Utility\LocalizationUtilityTest\clearLabelWithTypoScript(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend\clearPageCache(), TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory\create(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\determineStoragePageIdForNewRecord(), TYPO3\CMS\Extbase\Configuration\ConfigurationManager\getConfiguration(), TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer\getConfiguration(), TYPO3\CMS\Extbase\Service\ExtensionService\getPluginNameByAction(), TYPO3\CMS\Extbase\Service\ExtensionService\getPluginNamespace(), TYPO3\CMS\Extbase\Service\ExtensionService\getTargetPageTypeByFormat(), TYPO3\CMS\Extbase\Service\ExtensionService\getTargetPidByPlugin(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\insertObject(), TYPO3\CMS\Extbase\Service\ExtensionService\isActionCacheable(), TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder\loadDefaultValues(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\loadTypoScriptLabels(), TYPO3\CMS\Extbase\Tests\Unit\Utility\LocalizationUtilityTest\loadTypoScriptLabels(), TYPO3\CMS\Form\Service\TranslationService\loadTypoScriptLabels(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\removeEntity(), TYPO3\CMS\Fluid\ViewHelpers\Be\TableListViewHelper\render(), TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder\resolveActionName(), TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder\resolveControllerName(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\setViewConfiguration(), TYPO3\CMS\Extbase\Tests\Unit\Utility\LocalizationUtilityTest\translateWillReturnLabelsFromTsEvenIfNoXlfFileExists(), and TYPO3\CMS\Extbase\Persistence\Generic\Backend\updateObject().

◆ CONFIGURATION_TYPE_FULL_TYPOSCRIPT

◆ CONFIGURATION_TYPE_SETTINGS