function MemoryStorage::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
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 39 
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.
