function RecipeMultipleModulesConfigStorage::exists

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Recipe/RecipeMultipleModulesConfigStorage.php \Drupal\Core\Recipe\RecipeMultipleModulesConfigStorage::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\Recipe

Code

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.