‪TYPO3CMS  11.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 (ContentObjectRenderer $contentObject)
 
TYPO3 CMS Frontend ContentObject ContentObjectRenderer null getContentObject ()
 
array getConfiguration (string $configurationType, ?string $extensionName=null, ?string $pluginName=null)
 
 setConfiguration (array $configuration=[])
 
bool isFeatureEnabled (string $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 27 of file ConfigurationManagerInterface.php.

Member Function Documentation

◆ getConfiguration()

array TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::getConfiguration ( string  $configurationType,
?string  $extensionName = null,
?string  $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\Form\Domain\Configuration\ConfigurationService\__construct(), TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManager\__construct(), TYPO3\CMS\Form\Domain\Finishers\ConfirmationFinisher\injectConfigurationManager(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\injectConfigurationManager(), and TYPO3\CMS\Extbase\Utility\LocalizationUtility\loadTypoScriptLabels().

◆ getContentObject()

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

Get the content object

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

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

◆ isFeatureEnabled()

bool TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::isFeatureEnabled ( string  $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 ( ContentObjectRenderer  $contentObject)
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 29 of file ConfigurationManagerInterface.php.

Referenced by TYPO3\CMS\Extbase\Core\Bootstrap\clearCacheOnError(), TYPO3\CMS\Extbase\Service\CacheService\clearCachesOfRegisteredPageIds(), TYPO3\CMS\Extbase\Tests\Unit\Utility\LocalizationUtilityTest\clearLabelWithTypoScript(), TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory\create(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\determineStoragePageIdForNewRecord(), TYPO3\CMS\Extbase\Configuration\ConfigurationManager\getConfiguration(), TYPO3\CMS\Extbase\Tests\Unit\Service\ExtensionServiceTest\getPluginNameByActionReturnsCurrentIfItCanHandleTheActionEvenIfMoreThanOnePluginMatches(), TYPO3\CMS\Extbase\Tests\Unit\Service\ExtensionServiceTest\getPluginNameByActionTests(), TYPO3\CMS\Extbase\Tests\Unit\Service\ExtensionServiceTest\getPluginNameByActionThrowsExceptionIfMoreThanOnePluginMatches(), TYPO3\CMS\Extbase\Service\ExtensionService\getPluginNameFromFrameworkConfiguration(), TYPO3\CMS\Extbase\Service\ExtensionService\getPluginNamespace(), TYPO3\CMS\Extbase\Service\ExtensionService\getTargetPageTypeByFormat(), TYPO3\CMS\Extbase\Tests\Unit\Service\ExtensionServiceTest\getTargetPageTypeByFormatReturnsMappedPageTypeFromConfiguration(), TYPO3\CMS\Extbase\Tests\Unit\Service\ExtensionServiceTest\getTargetPageTypeByFormatReturnsZeroIfNoMappingIsSet(), TYPO3\CMS\Extbase\Service\ExtensionService\getTargetPidByPlugin(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\insertObject(), TYPO3\CMS\Extbase\Core\Bootstrap\isExtbaseRequestCacheable(), 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\Tests\Unit\Service\ExtensionServiceTest\pluginNamespaceCanBeOverridden(), 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\resolveControllerClassName(), TYPO3\CMS\Extbase\Tests\Unit\Service\CacheServiceTest\setUp(), 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