class ComponentNotFoundException

Same name in this branch
  1. 11.x core/modules/sdc/src/Exception/ComponentNotFoundException.php \Drupal\sdc\Exception\ComponentNotFoundException
Same name in other branches
  1. 10 core/modules/sdc/src/Exception/ComponentNotFoundException.php \Drupal\sdc\Exception\ComponentNotFoundException
  2. 10 core/lib/Drupal/Core/Render/Component/Exception/ComponentNotFoundException.php \Drupal\Core\Render\Component\Exception\ComponentNotFoundException

Raised when a component cannot be found.

Hierarchy

  • class \Drupal\Core\Render\Component\Exception\ComponentNotFoundException extends \Drupal\Core\Render\Component\Exception\Exception

Expanded class hierarchy of ComponentNotFoundException

6 files declare their use of ComponentNotFoundException
ComponentLoader.php in core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentNodeVisitor.php in core/lib/Drupal/Core/Template/ComponentNodeVisitor.php
ComponentPluginManager.php in core/lib/Drupal/Core/Theme/ComponentPluginManager.php
ComponentPluginManagerTest.php in core/modules/sdc/tests/src/Kernel/ComponentPluginManagerTest.php
ComponentPluginManagerTest.php in core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php

... See full list

File

core/lib/Drupal/Core/Render/Component/Exception/ComponentNotFoundException.php, line 10

Namespace

Drupal\Core\Render\Component\Exception
View source
class ComponentNotFoundException extends \Exception {

}

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