You are here

public function InMemoryStorage::exists in Configuration Provider 8

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

1 call to InMemoryStorage::exists()
InMemoryStorage::rename in src/InMemoryStorage.php
Renames a configuration object in the storage.

File

src/InMemoryStorage.php, line 46

Class

InMemoryStorage
Provides an in memory confituration storage.

Namespace

Drupal\config_provider

Code

public function exists($name) {
  return isset($this->config[$this->collection][$name]);
}