class InvalidComponentException

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

Custom exception for invalid components.

@internal

Hierarchy

Expanded class hierarchy of InvalidComponentException

8 files declare their use of InvalidComponentException
Component.php in core/modules/sdc/src/Plugin/Component.php
ComponentMetadata.php in core/modules/sdc/src/Component/ComponentMetadata.php
ComponentMetadataTest.php in core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php
ComponentNodeVisitor.php in core/modules/sdc/src/Twig/ComponentNodeVisitor.php
ComponentRenderInvalidTest.php in core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php

... See full list

File

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

Namespace

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

}

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