Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InvalidComponentException.php

class InvalidComponentException

Custom exception for invalid components.

Hierarchy

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

Expanded class hierarchy of InvalidComponentException

5 files declare their use of InvalidComponentException
Component.php in core/lib/Drupal/Core/Plugin/Component.php
ComponentMetadata.php in core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php
ComponentNodeVisitor.php in core/lib/Drupal/Core/Template/ComponentNodeVisitor.php
ComponentsTwigExtension.php in core/lib/Drupal/Core/Template/ComponentsTwigExtension.php
ComponentValidator.php in core/lib/Drupal/Core/Theme/Component/ComponentValidator.php

File

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

Namespace

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

}
RSS feed
Powered by Drupal