public function StorageInterface::read

You are here

8 StorageInterface.php 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.

4 methods override StorageInterface::read()
CachedStorage::read in core/lib/Drupal/Core/Config/CachedStorage.php
Implements Drupal\Core\Config\StorageInterface::read().
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().
NullStorage::read in core/lib/Drupal/Core/Config/NullStorage.php
Implements Drupal\Core\Config\StorageInterface::read().

File

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

Namespace

Drupal\Core\Config

Class

StorageInterface
Defines an interface for configuration storage.

Code

public function read($name);