class ConfigNameException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigNameException.php \Drupal\Core\Config\ConfigNameException
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigNameException.php \Drupal\Core\Config\ConfigNameException
  3. 11.x core/lib/Drupal/Core/Config/ConfigNameException.php \Drupal\Core\Config\ConfigNameException

Exception thrown when a config object name is invalid.

Hierarchy

  • class \Drupal\Core\Config\ConfigException extends \Drupal\Core\Config\RuntimeException

Expanded class hierarchy of ConfigNameException

3 files declare their use of ConfigNameException
ConfigCRUDTest.php in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
ConfigEntityBundleBase.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
ConfigImportSubscriber.php in core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php

File

core/lib/Drupal/Core/Config/ConfigNameException.php, line 8

Namespace

Drupal\Core\Config
View source
class ConfigNameException extends ConfigException {

}

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