ConfigInstaller::isSyncing

public ConfigInstaller::isSyncing() Gets the syncing state. Return value bool Returns TRUE is syncing flag set. Overrides ConfigInstallerInterface::isSyncing File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 398 Class ConfigInstaller Namespace Drupal\Core\Config Code public function isSyncing() { return $this->isSyncing; }

ConfigInstaller::installOptionalConfig

public ConfigInstaller::installOptionalConfig(StorageInterface $storage = NULL, $dependency = []) Installs optional configuration. Optional configuration is only installed if: the configuration does not exist already. it's a configuration entity. its dependencies can be met. Parameters \Drupal\Core\Config\StorageInterface $storage: (optional) The configuration storage to search for optional configuration. If not provided, all enabled extension's optional configuration directories will be sea

ConfigInstaller::installDefaultConfig

public ConfigInstaller::installDefaultConfig($type, $name) Installs the default configuration of a given extension. When an extension is installed, it searches all the default configuration directories for all other extensions to locate any configuration with its name prefix. For example, the Node module provides the frontpage view as a default configuration file: core/modules/node/config/install/views.view.frontpage.yml When the Views module is installed after the Node module is already enable

ConfigInstaller::installCollectionDefaultConfig

public ConfigInstaller::installCollectionDefaultConfig($collection) Installs all default configuration in the specified collection. The function is useful if the site needs to respond to an event that has just created another collection and we need to check all the installed extensions for any matching configuration. For example, if a language has just been created. Parameters string $collection: The configuration collection. Overrides ConfigInstallerInterface::installCollectionDefaultConfig F

ConfigInstaller::getSourceStorage

public ConfigInstaller::getSourceStorage() Gets the configuration storage that provides the default configuration. Return value \Drupal\Core\Config\StorageInterface|null The configuration storage that provides the default configuration. Returns null if the source storage has not been set. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 363 Class ConfigInstaller Namespace Drupal\Core\Config Code public function getSourceStorage() { return $this->sourceStorage; }

ConfigInstaller::getProfileStorages

protected ConfigInstaller::getProfileStorages($installing_name = '') Gets the profile storage to use to check for profile overrides. The install profile can override module configuration during a module install. Both the install and optional directories are checked for matching configuration. This allows profiles to override default configuration for modules they do not depend on. Parameters string $installing_name: (optional) The name of the extension currently being installed. Return value

ConfigInstaller::getEnabledExtensions

protected ConfigInstaller::getEnabledExtensions() Gets the list of enabled extensions including both modules and themes. Return value array A list of enabled extensions which includes both modules and themes. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 564 Class ConfigInstaller Namespace Drupal\Core\Config Code protected function getEnabledExtensions() { // Read enabled extensions directly from configuration to avoid circular // dependencies on ModuleHandler and Th

ConfigInstaller::getDefaultConfigDirectory

protected ConfigInstaller::getDefaultConfigDirectory($type, $name) Gets an extension's default configuration directory. Parameters string $type: Type of extension to install. string $name: Name of extension to install. Return value string The extension's default configuration directory. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 616 Class ConfigInstaller Namespace Drupal\Core\Config Code protected function getDefaultConfigDirectory($type, $name) { return $this->

ConfigInstaller::getConfigToCreate

protected ConfigInstaller::getConfigToCreate(StorageInterface $storage, $collection, $prefix = '', array $profile_storages = []) Gets configuration data from the provided storage to create. Parameters StorageInterface $storage: The configuration storage to read configuration from. string $collection: The configuration collection to use. string $prefix: (optional) Limit to configuration starting with the provided string. \Drupal\Core\Config\StorageInterface[] $profile_storages: An array of stor

ConfigInstaller::getActiveStorages

protected ConfigInstaller::getActiveStorages($collection = StorageInterface::DEFAULT_COLLECTION) Gets the configuration storage that provides the active configuration. Parameters string $collection: (optional) The configuration collection. Defaults to the default collection. Return value \Drupal\Core\Config\StorageInterface The configuration storage that provides the default configuration. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 377 Class ConfigInstaller Namespace