You are here

public function StorageInterface::exists in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::exists()
  2. 9 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\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.

1 method overrides StorageInterface::exists()
MemoryStorage::exists in core/lib/Drupal/Core/Config/MemoryStorage.php
Returns whether a configuration object exists.

File

core/lib/Drupal/Core/Config/StorageInterface.php, line 27

Class

StorageInterface
Defines an interface for configuration storage.

Namespace

Drupal\Core\Config

Code

public function exists($name);