You are here

public function ReadOnlyStorage::exists in Config Filter 8

Same name and namespace in other branches
  1. 8.2 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::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

src/Config/ReadOnlyStorage.php, line 37

Class

ReadOnlyStorage
Class ReadOnlyStorage.

Namespace

Drupal\config_filter\Config

Code

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