class InvalidComponentException
Same name in this branch
- 11.x core/lib/Drupal/Core/Render/Component/Exception/InvalidComponentException.php \Drupal\Core\Render\Component\Exception\InvalidComponentException
Same name in other branches
- 10 core/modules/sdc/src/Exception/InvalidComponentException.php \Drupal\sdc\Exception\InvalidComponentException
- 10 core/lib/Drupal/Core/Render/Component/Exception/InvalidComponentException.php \Drupal\Core\Render\Component\Exception\InvalidComponentException
Custom exception for invalid components.
@internal
Hierarchy
- class \Drupal\sdc\Exception\InvalidComponentException extends \Drupal\sdc\Exception\Exception
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
File
-
core/
modules/ sdc/ src/ Exception/ InvalidComponentException.php, line 10
Namespace
Drupal\sdc\ExceptionView source
final class InvalidComponentException extends \Exception {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.