class InvalidComponentDataException

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

Raised when a component is rendering with invalid data.

@internal

Hierarchy

Expanded class hierarchy of InvalidComponentDataException

2 files declare their use of InvalidComponentDataException
ComponentElement.php in core/modules/sdc/src/Element/ComponentElement.php
ComponentRenderTest.php in core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php

File

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

Namespace

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

}

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