function StorageInterface::read
Same name in other branches
- 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()
- 11.x 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|bool The configuration data stored for the configuration object name. If no configuration data exists for the given name, FALSE is returned.
8 methods override StorageInterface::read()
- CachedStorage::read in core/
lib/ Drupal/ Core/ Config/ CachedStorage.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.
- MemoryStorage::read in core/
lib/ Drupal/ Core/ Config/ MemoryStorage.php - Reads configuration data from the storage.
File
-
core/
lib/ Drupal/ Core/ Config/ StorageInterface.php, line 39
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.