You are here

public static function Storage::configFileExists in Configuration Management 7.2

Returns TRUE if the file for a configuration exists in the config:// directory.

File

lib/Drupal/configuration/Storage/Storage.php, line 37
Definition of Drupal\configuration\Storage\Storage.

Class

Storage

Namespace

Drupal\configuration\Storage

Code

public static function configFileExists($filename) {
  return file_exists(ConfigurationManagement::getStream() . '/' . $filename);
}