function StorageInterface::read
Same name in other branches
- 9 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::read()
- 8.9.x core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::read()
- 10 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::read()
Reads configuration data from the storage.
Parameters
string $name: The name of a configuration object to load.
Return value
array|false The configuration data stored for the configuration object name. If no configuration data exists for the given name, FALSE is returned.
12 methods override StorageInterface::read()
- CachedStorage::read in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php - Reads configuration data from the storage.
- CheckpointStorage::read in core/
lib/ Drupal/ Core/ Config/ Checkpoint/ CheckpointStorage.php - Reads configuration data from the storage.
- DatabaseStorage::read in core/
lib/ Drupal/ Core/ Config/ DatabaseStorage.php - Reads configuration data from the storage.
- FileStorage::read in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Implements Drupal\Core\Config\StorageInterface::read().
- ManagedStorage::read in core/
lib/ Drupal/ Core/ Config/ ManagedStorage.php - Reads configuration data from the storage.
File
-
core/
lib/ Drupal/ Core/ Config/ StorageInterface.php, line 44
Class
- StorageInterface
- Defines an interface for configuration storage.
Namespace
Drupal\Core\ConfigCode
public function read($name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.