An exception thrown if configuration with the same name already exists.
Hierarchy
- class \Drupal\Core\Config\ConfigException extends \RuntimeException
- class \Drupal\Core\Config\PreExistingConfigException
File
- core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 10
Namespace
Drupal\Core\Config
Members
Name | Modifiers | Type | Description |
---|---|---|---|
PreExistingConfigException::$configObjects | protected | property | A list of configuration objects that already exist in active configuration. |
PreExistingConfigException::$extension | protected | property | The name of the module that is being installed. |
PreExistingConfigException::create | public static | function | Creates an exception for an extension and a list of configuration objects. |
PreExistingConfigException::flattenConfigObjects | public static | function | Flattens the config object array to a single dimensional list. |
PreExistingConfigException::getConfigObjects | public | function | Gets the list of configuration objects that already exist. |
PreExistingConfigException::getExtension | public | function | Gets the name of the extension that is being installed. |
Please login to continue.