class ComponentNotFoundException

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

Raised when a component cannot be found.

@internal

Hierarchy

Expanded class hierarchy of ComponentNotFoundException

4 files declare their use of ComponentNotFoundException
ComponentNodeVisitor.php in core/modules/sdc/src/Twig/ComponentNodeVisitor.php
ComponentPluginManager.php in core/modules/sdc/src/ComponentPluginManager.php
TwigComponentLoader.php in core/modules/sdc/src/Twig/TwigComponentLoader.php
TwigExtension.php in core/modules/sdc/src/Twig/TwigExtension.php

File

core/modules/sdc/src/Exception/ComponentNotFoundException.php, line 10

Namespace

Drupal\sdc\Exception
View source
final class ComponentNotFoundException extends \Exception {

}

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