StorableConfigBase::getStorage

public StorableConfigBase::getStorage() Retrieves the storage used to load and save this configuration object. Return value \Drupal\Core\Config\StorageInterface The configuration storage object. File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 117 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code public function getStorage() { return $this->storage; }

StorableConfigBase::getSchemaWrapper

protected StorableConfigBase::getSchemaWrapper() Gets the schema wrapper for the whole configuration object. The schema wrapper is dependent on the configuration name and the whole data structure, so if the name or the data changes in any way, the wrapper should be reset. Return value \Drupal\Core\Config\Schema\Element File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 130 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace

StorableConfigBase::delete

abstract public StorableConfigBase::delete() Deletes the configuration object. Must invalidate the cache tags associated with the configuration object. Return value $this File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 83 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code abstract public function delete();

StorableConfigBase::castValue

protected StorableConfigBase::castValue($key, $value) Casts the value to correct data type using the configuration schema. Parameters string $key: A string that maps to a key within the configuration data. string $value: Value to associate with the key. Return value mixed The value cast to the type indicated in the schema. Throws \Drupal\Core\Config\UnsupportedDataTypeConfigException If the value is unsupported in configuration. File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 1

StorableConfigBase::$typedConfigManager

The typed config manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 44 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code protected $typedConfigManager;

StorableConfigBase::$storage

The storage used to load and save this configuration object. Type: \Drupal\Core\Config\StorageInterface File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 30 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code protected $storage;

StorableConfigBase::$schemaWrapper

The config schema wrapper object for this configuration object. Type: \Drupal\Core\Config\Schema\Element File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 37 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code protected $schemaWrapper;

StorableConfigBase::$originalData

The data of the configuration object. Type: array File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 58 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code protected $originalData = array();

StorableConfigBase::$isNew

Whether the configuration object is new or has been saved to the storage. Type: bool File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 51 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code protected $isNew = TRUE;

StorableConfigBase

Provides a base class for configuration objects with storage support. Encapsulates all capabilities needed for configuration handling for a specific configuration object, including storage and data type casting. The default implementation in \Drupal\Core\Config\Config adds support for runtime overrides. Extend from StorableConfigBase directly to manage configuration with a storage backend that does not support overrides. Hierarchy class \Drupal\Core\Config\ConfigBase implements RefinableCacheab