You are here

public function ConfigInstallerInterface::checkConfigurationToInstall in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::checkConfigurationToInstall()

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

2 methods override ConfigInstallerInterface::checkConfigurationToInstall()
ConfigInstaller::checkConfigurationToInstall in core/lib/Drupal/Core/Config/ConfigInstaller.php
Checks the configuration that will be installed for an extension.
ConfigInstaller::checkConfigurationToInstall in core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php
Checks the configuration that will be installed for an extension.

File

core/lib/Drupal/Core/Config/ConfigInstallerInterface.php, line 116

Class

ConfigInstallerInterface
Interface for classes that install config.

Namespace

Drupal\Core\Config

Code

public function checkConfigurationToInstall($type, $name);