ConfigInstaller::findPreExistingConfiguration

protected ConfigInstaller::findPreExistingConfiguration(StorageInterface $storage) Finds pre-existing configuration objects for the provided extension. Extensions can not be installed if configuration objects exist in the active storage with the same names. This can happen in a number of ways, commonly: if a user has created configuration with the same name as that provided by the extension. if the extension provides default configuration that does not depend on it and the extension has been un

ConfigInstaller::findDefaultConfigWithUnmetDependencies

protected ConfigInstaller::findDefaultConfigWithUnmetDependencies(StorageInterface $storage, array $enabled_extensions, array $profile_storages = []) Finds default configuration with unmet dependencies. Parameters \Drupal\Core\Config\StorageInterface $storage: The storage containing the default configuration. array $enabled_extensions: A list of all the currently enabled modules and themes. \Drupal\Core\Config\StorageInterface[] $profile_storages: An array of storage interfaces containing prof

ConfigInstaller::drupalInstallationAttempted

protected ConfigInstaller::drupalInstallationAttempted() Wrapper for drupal_installation_attempted(). Return value bool TRUE if a Drupal installation is currently being attempted. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 658 Class ConfigInstaller Namespace Drupal\Core\Config Code protected function drupalInstallationAttempted() { return drupal_installation_attempted(); }

ConfigInstaller::drupalGetProfile

protected ConfigInstaller::drupalGetProfile() Gets the install profile from settings. Return value string|null $profile The name of the installation profile or NULL if no installation profile is currently active. This is the case for example during the first steps of the installer or during unit tests. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 646 Class ConfigInstaller Namespace Drupal\Core\Config Code protected function drupalGetProfile() { // Settings is safe to

ConfigInstaller::drupalGetPath

protected ConfigInstaller::drupalGetPath($type, $name) Wrapper for drupal_get_path(). Parameters $type: The type of the item; one of 'core', 'profile', 'module', 'theme', or 'theme_engine'. $name: The name of the item for which the path is requested. Ignored for $type 'core'. Return value string The path to the requested item or an empty string if the item is not found. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 634 Class ConfigInstaller Namespace Drupal\Core\Config

ConfigInstaller::createConfiguration

protected ConfigInstaller::createConfiguration($collection, array $config_to_create) Creates configuration in a collection based on the provided list. Parameters string $collection: The configuration collection. array $config_to_create: An array of configuration data to create, keyed by name. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 265 Class ConfigInstaller Namespace Drupal\Core\Config Code protected function createConfiguration($collection, array $config_to_create

ConfigInstaller::checkConfigurationToInstall

public ConfigInstaller::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 Overrides ConfigInstallerInterface::checkConfigurationToInstall File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 438 Class ConfigInstaller Namespac

ConfigInstaller::$typedConfig

The typed configuration manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 33 Class ConfigInstaller Namespace Drupal\Core\Config Code protected $typedConfig;

ConfigInstaller::$sourceStorage

The configuration storage that provides the default configuration. Type: \Drupal\Core\Config\StorageInterface File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 54 Class ConfigInstaller Namespace Drupal\Core\Config Code protected $sourceStorage;

ConfigInstaller::$isSyncing

Is configuration being created as part of a configuration sync. Type: bool File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 61 Class ConfigInstaller Namespace Drupal\Core\Config Code protected $isSyncing = FALSE;