function ReadOnlyStorage::exists

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ReadOnlyStorage.php \Drupal\Core\Config\ReadOnlyStorage::exists()
  2. 8.9.x core/lib/Drupal/Core/Config/ReadOnlyStorage.php \Drupal\Core\Config\ReadOnlyStorage::exists()
  3. 10 core/lib/Drupal/Core/Config/ReadOnlyStorage.php \Drupal\Core\Config\ReadOnlyStorage::exists()

Overrides StorageInterface::exists

File

core/lib/Drupal/Core/Config/ReadOnlyStorage.php, line 30

Class

ReadOnlyStorage
A ReadOnlyStorage decorates a storage and does not allow writing to it.

Namespace

Drupal\Core\Config

Code

public function exists($name) {
    return $this->storage
        ->exists($name);
}

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