function RecipeExtensionConfigStorage::read
Same name in other branches
- 11.x core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php \Drupal\Core\Recipe\RecipeExtensionConfigStorage::read()
Overrides StorageInterface::read
File
-
core/
lib/ Drupal/ Core/ Recipe/ RecipeExtensionConfigStorage.php, line 51
Class
- RecipeExtensionConfigStorage
- Allows the recipe to select configuration from the module.
Namespace
Drupal\Core\RecipeCode
public function read($name) : array|bool {
if (!empty($this->configNames) && !in_array($name, $this->configNames, TRUE)) {
return FALSE;
}
return $this->storage
->read($name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.