You are here

public function ConfigInstaller::checkConfigurationToInstall in Drupal 10

Same name in this branch
  1. 10 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::checkConfigurationToInstall()
  2. 10 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::checkConfigurationToInstall()
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::checkConfigurationToInstall()
  2. 9 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::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

Overrides ConfigInstallerInterface::checkConfigurationToInstall

File

core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php, line 130

Class

ConfigInstaller
Provides a proxy class for \Drupal\Core\Config\ConfigInstaller.

Namespace

Drupal\Core\ProxyClass\Config

Code

public function checkConfigurationToInstall($type, $name) {
  return $this
    ->lazyLoadItself()
    ->checkConfigurationToInstall($type, $name);
}