class TestExtensionInstallStorage in Drupal 8
Hierarchy
- class \Drupal\Core\Config\FileStorage implements StorageInterface
- class \Drupal\Core\Config\InstallStorage
- class \Drupal\Core\Config\ExtensionInstallStorage
- class \Drupal\Tests\Core\Config\TestExtensionInstallStorage
- class \Drupal\Core\Config\ExtensionInstallStorage
- class \Drupal\Core\Config\InstallStorage
Expanded class hierarchy of TestExtensionInstallStorage
File
- core/
tests/ Drupal/ Tests/ Core/ Config/ ExtensionInstallStorageTest.php, line 48
Namespace
Drupal\Tests\Core\ConfigView source
class TestExtensionInstallStorage extends ExtensionInstallStorage {
/**
* Gets the install profile value.
*
* @return string|null
*/
public function getProfile() {
return $this->installProfile;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExtensionInstallStorage:: |
protected | property | The active configuration store. | |
ExtensionInstallStorage:: |
protected | property | Flag to include the profile in the list of enabled modules. | |
ExtensionInstallStorage:: |
protected | property | The name of the currently active installation profile. | |
ExtensionInstallStorage:: |
public | function |
Creates a collection on the storage. Overrides FileStorage:: |
|
ExtensionInstallStorage:: |
protected | function |
Returns a map of all config object names and their folders. Overrides InstallStorage:: |
|
ExtensionInstallStorage:: |
public | function |
Overrides \Drupal\Core\Config\InstallStorage::__construct(). Overrides InstallStorage:: |
|
FileStorage:: |
protected | property | The storage collection. | |
FileStorage:: |
protected | property | The file cache object. | |
FileStorage:: |
public | function |
Decodes configuration data from the storage-specific format. Overrides StorageInterface:: |
|
FileStorage:: |
public | function |
Encodes configuration data into the storage-specific format. Overrides StorageInterface:: |
|
FileStorage:: |
protected | function | Check if the directory exists and create it if not. | |
FileStorage:: |
public | function |
Gets the existing collections. Overrides StorageInterface:: |
|
FileStorage:: |
protected | function | Helper function for getAllCollectionNames(). | |
FileStorage:: |
protected | function | Gets the directory for the collection. | |
FileStorage:: |
public | function |
Gets the name of the current collection the storage is using. Overrides StorageInterface:: |
|
FileStorage:: |
public static | function | Returns the file extension used by the file storage for all configuration files. | |
FileStorage:: |
private | function | Returns file system service. | |
FileStorage:: |
public | function |
Implements Drupal\Core\Config\StorageInterface::read(). Overrides StorageInterface:: |
|
FileStorage:: |
public | function |
Reads configuration data from the storage. Overrides StorageInterface:: |
|
InstallStorage:: |
protected | property |
The directory to scan in each extension to scan for files. Overrides FileStorage:: |
|
InstallStorage:: |
protected | property | Folder map indexed by configuration name. | |
InstallStorage:: |
constant | Extension sub-directory containing default configuration for installation. | ||
InstallStorage:: |
constant | Extension sub-directory containing optional configuration for installation. | ||
InstallStorage:: |
constant | Extension sub-directory containing configuration schema. | ||
InstallStorage:: |
public | function |
Overrides Drupal\Core\Config\FileStorage::delete(). Overrides FileStorage:: |
|
InstallStorage:: |
public | function |
Overrides Drupal\Core\Config\FileStorage::deleteAll(). Overrides FileStorage:: |
|
InstallStorage:: |
public | function |
Returns whether a configuration object exists. Overrides FileStorage:: |
|
InstallStorage:: |
protected | function | Get folder inside each component that contains the files. | |
InstallStorage:: |
public | function | Get all configuration names and folders for a list of modules or themes. | |
InstallStorage:: |
protected | function | Get folder inside Drupal core that contains the files. | |
InstallStorage:: |
public | function | Get all configuration names and folders for Drupal core. | |
InstallStorage:: |
public | function |
Overrides Drupal\Core\Config\FileStorage::getFilePath(). Overrides FileStorage:: |
|
InstallStorage:: |
public | function |
Gets configuration object names starting with a given prefix. Overrides FileStorage:: |
|
InstallStorage:: |
public | function |
Overrides Drupal\Core\Config\FileStorage::rename(). Overrides FileStorage:: |
|
InstallStorage:: |
public | function | Resets the static cache. | |
InstallStorage:: |
public | function |
Overrides Drupal\Core\Config\FileStorage::write(). Overrides FileStorage:: |
|
StorageInterface:: |
constant | The default collection name. | ||
TestExtensionInstallStorage:: |
public | function | Gets the install profile value. |