class InvalidComponentException
Same name in this branch
- 11.x core/modules/sdc/src/Exception/InvalidComponentException.php \Drupal\sdc\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.
Hierarchy
- class \Drupal\Core\Render\Component\Exception\InvalidComponentException extends \Drupal\Core\Render\Component\Exception\Exception
Expanded class hierarchy of InvalidComponentException
8 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 - ComponentMetadataTest.php in core/
tests/ Drupal/ Tests/ Core/ Theme/ Component/ ComponentMetadataTest.php - ComponentNodeVisitor.php in core/
lib/ Drupal/ Core/ Template/ ComponentNodeVisitor.php - ComponentRenderInvalidTest.php in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderInvalidTest.php
File
-
core/
lib/ Drupal/ Core/ Render/ Component/ Exception/ InvalidComponentException.php, line 10
Namespace
Drupal\Core\Render\Component\ExceptionView source
class InvalidComponentException extends \Exception {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.