class FileStorageFactory (View source)

Provides a factory for creating config file storage objects.

Methods

static FileStorage
getActive() deprecated

Returns a FileStorage object working with the active config directory.

static FileStorage
getSync()

Returns a FileStorage object working with the sync config directory.

Details

static FileStorage getActive() deprecated

deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Drupal core no longer creates an active directory.

Returns a FileStorage object working with the active config directory.

Return Value

FileStorage FileStorage

static FileStorage getSync()

Returns a FileStorage object working with the sync config directory.

Return Value

FileStorage FileStorage

Exceptions

Exception