ConfigurationManagerInterface extends ConfigurationManagerInterface
Class ConfigurationManagerInterface
Scope: frontend / backend
Table of Contents
Constants
- CONFIGURATION_TYPE_FRAMEWORK = 'Framework'
- CONFIGURATION_TYPE_FULL_TYPOSCRIPT = 'FullTypoScript'
- CONFIGURATION_TYPE_SETTINGS = 'Settings'
- CONFIGURATION_TYPE_YAML_SETTINGS = 'YamlSettings'
Methods
- getConfiguration() : array<string|int, mixed>
- Returns the specified configuration.
- getContentObject() : ContentObjectRenderer|null
- Get the content object
- isFeatureEnabled() : bool
- Returns TRUE if a certain feature, identified by $featureName should be activated, FALSE for backwards-compatible behavior.
- setConfiguration() : void
- Sets the specified raw configuration coming from the outside.
- setContentObject() : void
Constants
CONFIGURATION_TYPE_FRAMEWORK
public
mixed
CONFIGURATION_TYPE_FRAMEWORK
= 'Framework'
CONFIGURATION_TYPE_FULL_TYPOSCRIPT
public
mixed
CONFIGURATION_TYPE_FULL_TYPOSCRIPT
= 'FullTypoScript'
CONFIGURATION_TYPE_SETTINGS
public
mixed
CONFIGURATION_TYPE_SETTINGS
= 'Settings'
CONFIGURATION_TYPE_YAML_SETTINGS
public
mixed
CONFIGURATION_TYPE_YAML_SETTINGS
= 'YamlSettings'
Methods
getConfiguration()
Returns the specified configuration.
public
getConfiguration(string $configurationType[, string $extensionName = null ][, string $pluginName = null ]) : array<string|int, mixed>
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
- $configurationType : string
-
The kind of configuration to fetch - must be one of the CONFIGURATION_TYPE_* constants
- $extensionName : string = null
-
if specified, the configuration for the given extension will be returned.
- $pluginName : string = null
-
if specified, the configuration for the given plugin will be returned.
Return values
array<string|int, mixed> —The configuration
getContentObject()
Get the content object
public
getContentObject() : ContentObjectRenderer|null
Return values
ContentObjectRenderer|nullisFeatureEnabled()
Returns TRUE if a certain feature, identified by $featureName should be activated, FALSE for backwards-compatible behavior.
public
isFeatureEnabled(string $featureName) : bool
This is an INTERNAL API used throughout Extbase and Fluid for providing backwards-compatibility. Do not use it in your custom code!
Parameters
- $featureName : string
Return values
boolsetConfiguration()
Sets the specified raw configuration coming from the outside.
public
setConfiguration([array<string|int, mixed> $configuration = [] ]) : void
Note that this is a low level method and only makes sense to be used by Extbase internally.
Parameters
- $configuration : array<string|int, mixed> = []
-
The new configuration
setContentObject()
public
setContentObject(ContentObjectRenderer $contentObject) : void
Parameters
- $contentObject : ContentObjectRenderer