public function 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.

4 methods override StorageInterface::read()
CachedStorage::read in drupal/core/lib/Drupal/Core/Config/CachedStorage.php
Implements Drupal\Core\Config\StorageInterface::read().
DatabaseStorage::read in drupal/core/lib/Drupal/Core/Config/DatabaseStorage.php
Implements Drupal\Core\Config\StorageInterface::read().
FileStorage::read in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::read().
NullStorage::read in drupal/core/lib/Drupal/Core/Config/NullStorage.php
Implements Drupal\Core\Config\StorageInterface::read().

File

drupal/core/lib/Drupal/Core/Config/StorageInterface.php, line 39
Definition of Drupal\Core\Config\StorageInterface.

Class

StorageInterface
Defines an interface for configuration storage controllers.

Namespace

Drupal\Core\Config

Code

public function read($name);