ConfigInstallerInterface::isSyncing

public ConfigInstallerInterface::isSyncing() Gets the syncing state. Return value bool Returns TRUE is syncing flag set. File core/lib/Drupal/Core/Config/ConfigInstallerInterface.php, line 93 Class ConfigInstallerInterface Interface for classes that install config. Namespace Drupal\Core\Config Code public function isSyncing();

ConfigInstallerInterface::installOptionalConfig

public ConfigInstallerInterface::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 wi

ConfigInstallerInterface::installDefaultConfig

public ConfigInstallerInterface::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 alrea

ConfigInstallerInterface::installCollectionDefaultConfig

public ConfigInstallerInterface::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. File core/lib/Drupal/Core/Config/ConfigInstallerInterface.p

ConfigInstallerInterface::checkConfigurationToInstall

public ConfigInstallerInterface::checkConfigurationToInstall($type, $name) Checks the configuration that will be installed for an extension. Parameters string $type: Type of extension to install. string $name: Name of extension to install. Throws \Drupal\Core\Config\UnmetDependenciesException \Drupal\Core\Config\PreExistingConfigException File core/lib/Drupal/Core/Config/ConfigInstallerInterface.php, line 106 Class ConfigInstallerInterface Interface for classes that install config. Nam

ConfigInstallerInterface

Interface for classes that install config. Hierarchy interface \Drupal\Core\Config\ConfigInstallerInterface File core/lib/Drupal/Core/Config/ConfigInstallerInterface.php, line 8 Namespace Drupal\Core\Config Members Name Modifiers Type Description ConfigInstallerInterface::checkConfigurationToInstall public function Checks the configuration that will be installed for an extension. ConfigInstallerInterface::installCollectionDefaultConfig public function Installs al

ConfigInstaller::__construct

public ConfigInstaller::__construct(ConfigFactoryInterface $config_factory, StorageInterface $active_storage, TypedConfigManagerInterface $typed_config, ConfigManagerInterface $config_manager, EventDispatcherInterface $event_dispatcher) Constructs the configuration installer. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory. \Drupal\Core\Config\StorageInterface $active_storage: The active configuration storage. \Drupal\Core\Config\TypedConfigMana

ConfigInstaller::validateDependencies

protected ConfigInstaller::validateDependencies($config_name, array $data, array $enabled_extensions, array $all_config) Validates an array of config data that contains dependency information. Parameters string $config_name: The name of the configuration object that is being validated. array $data: Configuration data. array $enabled_extensions: A list of all the currently enabled modules and themes. array $all_config: A list of all the active configuration names. Return value bool TRUE if the

ConfigInstaller::setSyncing

public ConfigInstaller::setSyncing($status) Sets the status of the isSyncing flag. Parameters bool $status: The status of the sync flag. Return value $this Overrides ConfigInstallerInterface::setSyncing File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 387 Class ConfigInstaller Namespace Drupal\Core\Config Code public function setSyncing($status) { if (!$status) { $this->sourceStorage = NULL; } $this->isSyncing = $status; return $this; }

ConfigInstaller::setSourceStorage

public ConfigInstaller::setSourceStorage(StorageInterface $storage) Sets the configuration storage that provides the default configuration. Parameters \Drupal\Core\Config\StorageInterface $storage: Return value $this Overrides ConfigInstallerInterface::setSourceStorage File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 351 Class ConfigInstaller Namespace Drupal\Core\Config Code public function setSourceStorage(StorageInterface $storage) { $this->sourceStorage = $storage