You are here

public function StorageInterface::read in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::read()
  2. 9 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.

1 method overrides StorageInterface::read()
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\Config

Code

public function read($name);