1.20.x config_file_storage.inc public ConfigFileStorage::isInitialized()

Check that the storage managed by this object is present and functional.

Return value

bool: TRUE on success, FALSE in case of an error.

Overrides ConfigStorageInterface::isInitialized

File

drivers/config_file/config_file_storage.inc, line 73

Class

ConfigFileStorage
Defines the file storage controller.

Code

public function isInitialized() {
  return is_dir($this->directory);
}