function PreExistingConfigException::getConfigObjects

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/PreExistingConfigException.php \Drupal\Core\Config\PreExistingConfigException::getConfigObjects()
  2. 8.9.x core/lib/Drupal/Core/Config/PreExistingConfigException.php \Drupal\Core\Config\PreExistingConfigException::getConfigObjects()
  3. 10 core/lib/Drupal/Core/Config/PreExistingConfigException.php \Drupal\Core\Config\PreExistingConfigException::getConfigObjects()

Gets the list of configuration objects that already exist.

Return value

array A list of configuration objects that already exist in active configuration keyed by collection.

File

core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 33

Class

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

Namespace

Drupal\Core\Config

Code

public function getConfigObjects() {
    return $this->configObjects;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.