You are here

public function ConfigInstallerInterface::checkConfigurationToInstall in Drupal 10

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

1 method overrides ConfigInstallerInterface::checkConfigurationToInstall()
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 117

Class

ConfigInstallerInterface
Interface for classes that install config.

Namespace

Drupal\Core\Config

Code

public function checkConfigurationToInstall($type, $name);