StorageInterface::read

public StorageInterface::read($name) Reads configuration data from the storage. Parameters string $name: The name of a configuration object to load. Return value array|bool The configuration data stored for the configuration object name. If no configuration data exists for the given name, FALSE is returned. File core/lib/Drupal/Core/Config/StorageInterface.php, line 39 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public func

StorageInterface::rename

public StorageInterface::rename($name, $new_name) Renames a configuration object in the storage. Parameters string $name: The name of a configuration object to rename. string $new_name: The new name of a configuration object. Return value bool TRUE on success, FALSE otherwise. File core/lib/Drupal/Core/Config/StorageInterface.php, line 91 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public function rename($name, $new_name);

StorageInterface::readMultiple

public StorageInterface::readMultiple(array $names) Reads configuration data from the storage. Parameters array $names: List of names of the configuration objects to load. Return value array A list of the configuration data stored for the configuration object name that could be loaded for the passed list of names. File core/lib/Drupal/Core/Config/StorageInterface.php, line 51 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code publ

StorageInterface::listAll

public StorageInterface::listAll($prefix = '') Gets configuration object names starting with a given prefix. Given the following configuration objects: node.type.article node.type.page Passing the prefix 'node.type.' will return an array containing the above names. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration object names that exist are returned. Return value array An array containing matching configuration object names. File core/lib/Drupal/

StorageInterface::DEFAULT_COLLECTION

The default collection name. File core/lib/Drupal/Core/Config/StorageInterface.php, line 16 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code const DEFAULT_COLLECTION = '';

StorageInterface::exists

public StorageInterface::exists($name) Returns whether a configuration object exists. Parameters string $name: The name of a configuration object to test. Return value bool TRUE if the configuration object exists, FALSE otherwise. File core/lib/Drupal/Core/Config/StorageInterface.php, line 27 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public function exists($name);

StorageInterface::deleteAll

public StorageInterface::deleteAll($prefix = '') Deletes configuration objects whose names start with a given prefix. Given the following configuration object names: node.type.article node.type.page Passing the prefix 'node.type.' will delete the above configuration objects. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration objects that exist will be deleted. Return value bool TRUE on success, FALSE otherwise. File core/lib/Drupal/Core/Config/Stor

StorageInterface::delete

public StorageInterface::delete($name) Deletes a configuration object from the storage. Parameters string $name: The name of a configuration object to delete. Return value bool TRUE on success, FALSE otherwise. File core/lib/Drupal/Core/Config/StorageInterface.php, line 78 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public function delete($name);

StorageInterface::encode

public StorageInterface::encode($data) Encodes configuration data into the storage-specific format. This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests. Parameters array $data: The configuration data to encode. Return value string The encoded configuration data. File core/lib/Drupal/Core/Config/StorageInterface.php, line 105 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Con

StorageInterface::getAllCollectionNames

public StorageInterface::getAllCollectionNames() Gets the existing collections. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection key name identifies the current collection used. Return value array An array of existing collection names. File core/lib/Drupal/Core/Config/StorageInterface.php, line 191 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public function