function MemoryStorage::exists
Same name in other branches
- 9 core/lib/Drupal/Core/Config/MemoryStorage.php \Drupal\Core\Config\MemoryStorage::exists()
- 8.9.x core/lib/Drupal/Core/Config/MemoryStorage.php \Drupal\Core\Config\MemoryStorage::exists()
- 10 core/lib/Drupal/Core/Config/MemoryStorage.php \Drupal\Core\Config\MemoryStorage::exists()
Overrides StorageInterface::exists
2 calls to MemoryStorage::exists()
- MemoryStorage::read in core/
lib/ Drupal/ Core/ Config/ MemoryStorage.php - Reads configuration data from the storage.
- MemoryStorage::rename in core/
lib/ Drupal/ Core/ Config/ MemoryStorage.php - Renames a configuration object in the storage.
File
-
core/
lib/ Drupal/ Core/ Config/ MemoryStorage.php, line 40
Class
- MemoryStorage
- Provides an in memory configuration storage.
Namespace
Drupal\Core\ConfigCode
public function exists($name) {
return isset($this->config[$this->collection][$name]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.