You are here

public function StorageInterface::read in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

5 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().
NullStorage::read in core/lib/Drupal/Core/Config/NullStorage.php
Reads configuration data from the storage.
StorageReplaceDataWrapper::read in core/modules/config/src/StorageReplaceDataWrapper.php
Reads configuration data from the storage.

File

core/lib/Drupal/Core/Config/StorageInterface.php, line 44
Contains \Drupal\Core\Config\StorageInterface.

Class

StorageInterface
Defines an interface for configuration storage.

Namespace

Drupal\Core\Config

Code

public function read($name);