function RecipeConfigStorageWrapper::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/ RecipeConfigStorageWrapper.php, line 75  
Class
- RecipeConfigStorageWrapper
 - Merges two storages together.
 
Namespace
Drupal\Core\RecipeCode
public function read($name) : array|bool {
  return $this->storageA
    ->read($name) ?: $this->storageB
    ->read($name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.