public function ReadOnlyStorage::exists in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ReadOnlyStorage.php \Drupal\Core\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
- core/
lib/ Drupal/ Core/ Config/ ReadOnlyStorage.php, line 30
Class
- ReadOnlyStorage
- A ReadOnlyStorage decorates a storage and does not allow writing to it.
Namespace
Drupal\Core\ConfigCode
public function exists($name) {
return $this->storage
->exists($name);
}