W3cubDocs

/Drupal 8

class PreExistingConfigException

An exception thrown if configuration with the same name already exists.

Hierarchy

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!PreExistingConfigException.php/class/PreExistingConfigException/8.1.x