public function StorageInterface::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.

4 methods override StorageInterface::exists()
CachedStorage::exists in drupal/core/lib/Drupal/Core/Config/CachedStorage.php
Implements Drupal\Core\Config\StorageInterface::exists().
DatabaseStorage::exists in drupal/core/lib/Drupal/Core/Config/DatabaseStorage.php
Implements Drupal\Core\Config\StorageInterface::exists().
FileStorage::exists in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::exists().
NullStorage::exists in drupal/core/lib/Drupal/Core/Config/NullStorage.php
Implements Drupal\Core\Config\StorageInterface::exists().

File

drupal/core/lib/Drupal/Core/Config/StorageInterface.php, line 27
Definition of Drupal\Core\Config\StorageInterface.

Class

StorageInterface
Defines an interface for configuration storage controllers.

Namespace

Drupal\Core\Config

Code

public function exists($name);