function RecipeMultipleModulesConfigStorage::exists
Same name and namespace in other branches
- main core/lib/Drupal/Core/Recipe/RecipeMultipleModulesConfigStorage.php \Drupal\Core\Recipe\RecipeMultipleModulesConfigStorage::exists()
Returns whether a configuration object exists.
Parameters
string $name: The name of a configuration object to test.
Return value
bool TRUE if the configuration object exists, FALSE otherwise.
Overrides StorageInterface::exists
File
-
core/
lib/ Drupal/ Core/ Recipe/ RecipeMultipleModulesConfigStorage.php, line 102
Class
- RecipeMultipleModulesConfigStorage
- Provides a read-only config storage spanning multiple modules' config.
Namespace
Drupal\Core\RecipeCode
public function exists($name) : bool {
return $this->getStorage($name)?->exists($name) ?? FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.