Drupal 8  8.0.2
ImmutableConfig Class Reference
Inheritance diagram for ImmutableConfig:

Public Member Functions

 set ($key, $value)
 
 clear ($key)
 
 save ($has_trusted_data=FALSE)
 
 delete ()
 
- Public Member Functions inherited from Config
 __construct ($name, StorageInterface $storage, EventDispatcherInterface $event_dispatcher, TypedConfigManagerInterface $typed_config)
 
 initWithData (array $data)
 
 get ($key= '')
 
 setData (array $data)
 
 setSettingsOverride (array $data)
 
 setModuleOverride (array $data)
 
 set ($key, $value)
 
 clear ($key)
 
 save ($has_trusted_data=FALSE)
 
 delete ()
 
 getRawData ()
 
 getOriginal ($key= '', $apply_overrides=TRUE)
 
- Public Member Functions inherited from StorableConfigBase
 save ($has_trusted_data=FALSE)
 
 delete ()
 
 initWithData (array $data)
 
 isNew ()
 
 getStorage ()
 
- Public Member Functions inherited from ConfigBase
 getName ()
 
 setName ($name)
 
 get ($key= '')
 
 setData (array $data)
 
 set ($key, $value)
 
 clear ($key)
 
 merge (array $data_to_merge)
 
 getCacheContexts ()
 
 getCacheTags ()
 
 getCacheMaxAge ()
 
- Public Member Functions inherited from RefinableCacheableDependencyInterface
 addCacheContexts (array $cache_contexts)
 
 addCacheTags (array $cache_tags)
 
 mergeCacheMaxAge ($max_age)
 
 addCacheableDependency ($other_object)
 

Additional Inherited Members

- Static Public Member Functions inherited from ConfigBase
static validateName ($name)
 
- Data Fields inherited from ConfigBase
const MAX_NAME_LENGTH = 250
 
- Protected Member Functions inherited from Config
 setOverriddenData ()
 
 resetOverriddenData ()
 
- Protected Member Functions inherited from StorableConfigBase
 getSchemaWrapper ()
 
 validateValue ($key, $value)
 
 castValue ($key, $value)
 
- Protected Member Functions inherited from ConfigBase
 validateKeys (array $data)
 
 castSafeStrings ($data)
 
- Protected Attributes inherited from Config
 $eventDispatcher
 
 $overriddenData
 
 $moduleOverrides
 
 $settingsOverrides
 
- Protected Attributes inherited from StorableConfigBase
 $storage
 
 $schemaWrapper
 
 $typedConfigManager
 
 $isNew = TRUE
 
 $originalData = array()
 
- Protected Attributes inherited from ConfigBase
 $name
 
 $data = array()
 

Detailed Description

Defines the immutable configuration object.

Encapsulates all capabilities needed for runtime configuration handling except being able to change the configuration.

If you need to be able to change configuration use or ::getEditable().

See Also
::getEditable()
::get()

Member Function Documentation

clear (   $key)

{}

delete ( )

Deletes the configuration object.

Returns
The configuration object.
save (   $has_trusted_data = FALSE)

{}

set (   $key,
  $value 
)

{}


The documentation for this class was generated from the following file: