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.
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);