FileStorageFactory::getSync

static FileStorageFactory::getSync()

Returns a FileStorage object working with the sync config directory.

Return value

\Drupal\Core\Config\FileStorage FileStorage

File

core/lib/Drupal/Core/Config/FileStorageFactory.php, line 27

Class

FileStorageFactory
Provides a factory for creating config file storage objects.

Namespace

Drupal\Core\Config

Code

static function getSync() {
  return new FileStorage(config_get_config_directory(CONFIG_SYNC_DIRECTORY));
}
doc_Drupal
2016-10-29 09:13:44
Comments
Leave a Comment

Please login to continue.