function RecipeConfigStorageWrapper::exists

Same name in other branches
  1. 10 core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php \Drupal\Core\Recipe\RecipeConfigStorageWrapper::exists()

Overrides StorageInterface::exists

File

core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php, line 68

Class

RecipeConfigStorageWrapper
Merges two storages together.

Namespace

Drupal\Core\Recipe

Code

public function exists($name) : bool {
    return $this->storageA
        ->exists($name) || $this->storageB
        ->exists($name);
}

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