class TestExtensionInstallStorage
Hierarchy
- class \Drupal\Core\Config\FileStorage implements \Drupal\Core\Config\StorageInterface
- class \Drupal\Core\Config\InstallStorage extends \Drupal\Core\Config\FileStorage
- class \Drupal\Core\Config\ExtensionInstallStorage extends \Drupal\Core\Config\InstallStorage
- class \Drupal\Tests\Core\Config\TestExtensionInstallStorage extends \Drupal\Core\Config\ExtensionInstallStorage
- class \Drupal\Core\Config\ExtensionInstallStorage extends \Drupal\Core\Config\InstallStorage
- class \Drupal\Core\Config\InstallStorage extends \Drupal\Core\Config\FileStorage
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
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
ExtensionInstallStorage::$configStorage | protected | property | The active configuration store. | |
ExtensionInstallStorage::$includeProfile | protected | property | Flag to include the profile in the list of enabled modules. | |
ExtensionInstallStorage::$installProfile | protected | property | The name of the currently active installation profile. | |
ExtensionInstallStorage::createCollection | public | function | Creates a collection on the storage. | Overrides FileStorage::createCollection |
ExtensionInstallStorage::getAllFolders | protected | function | Returns a map of all config object names and their folders. | Overrides InstallStorage::getAllFolders |
ExtensionInstallStorage::__construct | public | function | Overrides \Drupal\Core\Config\InstallStorage::__construct(). | Overrides InstallStorage::__construct |
FileStorage::$collection | protected | property | The storage collection. | |
FileStorage::$fileCache | protected | property | The file cache object. | |
FileStorage::decode | public | function | Decodes configuration data from the storage-specific format. | Overrides StorageInterface::decode |
FileStorage::encode | public | function | Encodes configuration data into the storage-specific format. | Overrides StorageInterface::encode |
FileStorage::ensureStorage | protected | function | Check if the directory exists and create it if not. | |
FileStorage::getAllCollectionNames | public | function | Gets the existing collections. | Overrides StorageInterface::getAllCollectionNames |
FileStorage::getAllCollectionNamesHelper | protected | function | Helper function for getAllCollectionNames(). | |
FileStorage::getCollectionDirectory | protected | function | Gets the directory for the collection. | |
FileStorage::getCollectionName | public | function | Gets the name of the current collection the storage is using. | Overrides StorageInterface::getCollectionName |
FileStorage::getFileExtension | public static | function | Returns the file extension used by the file storage for all configuration files. | |
FileStorage::getFileSystem | private | function | Returns file system service. | |
FileStorage::read | public | function | Implements Drupal\Core\Config\StorageInterface::read(). | Overrides StorageInterface::read |
FileStorage::readMultiple | public | function | Reads configuration data from the storage. | Overrides StorageInterface::readMultiple |
InstallStorage::$directory | protected | property | The directory to scan in each extension to scan for files. | Overrides FileStorage::$directory |
InstallStorage::$folders | protected | property | Folder map indexed by configuration name. | |
InstallStorage::CONFIG_INSTALL_DIRECTORY | constant | Extension sub-directory containing default configuration for installation. | ||
InstallStorage::CONFIG_OPTIONAL_DIRECTORY | constant | Extension sub-directory containing optional configuration for installation. | ||
InstallStorage::CONFIG_SCHEMA_DIRECTORY | constant | Extension sub-directory containing configuration schema. | ||
InstallStorage::delete | public | function | Overrides Drupal\Core\Config\FileStorage::delete(). | Overrides FileStorage::delete |
InstallStorage::deleteAll | public | function | Overrides Drupal\Core\Config\FileStorage::deleteAll(). | Overrides FileStorage::deleteAll |
InstallStorage::exists | public | function | Returns whether a configuration object exists. | Overrides FileStorage::exists |
InstallStorage::getComponentFolder | protected | function | Get folder inside each component that contains the files. | |
InstallStorage::getComponentNames | public | function | Get all configuration names and folders for a list of modules or themes. | |
InstallStorage::getCoreFolder | protected | function | Get folder inside Drupal core that contains the files. | |
InstallStorage::getCoreNames | public | function | Get all configuration names and folders for Drupal core. | |
InstallStorage::getFilePath | public | function | Overrides Drupal\Core\Config\FileStorage::getFilePath(). | Overrides FileStorage::getFilePath |
InstallStorage::listAll | public | function | Gets configuration object names starting with a given prefix. | Overrides FileStorage::listAll |
InstallStorage::rename | public | function | Overrides Drupal\Core\Config\FileStorage::rename(). | Overrides FileStorage::rename |
InstallStorage::reset | public | function | Resets the static cache. | |
InstallStorage::write | public | function | Overrides Drupal\Core\Config\FileStorage::write(). | Overrides FileStorage::write |
StorageInterface::DEFAULT_COLLECTION | constant | The default collection name. | ||
TestExtensionInstallStorage::getProfile | public | function | Gets the install profile value. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.