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::isNew

public StorableConfigBase::isNew() Returns whether this configuration object is new. Return value bool TRUE if this configuration object does not exist in storage. File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 107 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code public function isNew() { return $this->isNew; }

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::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::$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::$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

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

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::$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::$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;