1 config.inc | public ConfigFileStorage::exists($name) |
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 ConfigStorageInterface::exists
File
- core/
includes/ config.inc, line 1671 - This is the API for configuration storage.
Class
- ConfigFileStorage
- Defines the file storage controller.
Code
public function exists($name) {
return file_exists($this->getFilePath($name));
}