function RecipeMultipleModulesConfigStorage::read

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/Recipe/RecipeMultipleModulesConfigStorage.php \Drupal\Core\Recipe\RecipeMultipleModulesConfigStorage::read()

Reads configuration data from the storage.

Parameters

string $name: The name of a configuration object to load.

Return value

array|false The configuration data stored for the configuration object name. If no configuration data exists for the given name, FALSE is returned.

Overrides StorageInterface::read

File

core/lib/Drupal/Core/Recipe/RecipeMultipleModulesConfigStorage.php, line 109

Class

RecipeMultipleModulesConfigStorage
Provides a read-only config storage spanning multiple modules' config.

Namespace

Drupal\Core\Recipe

Code

public function read($name) : array|false {
  return $this->getStorage($name)?->read($name) ?? FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.