class InvalidComponentDataException

Same name in this branch
  1. 11.x core/modules/sdc/src/Exception/InvalidComponentDataException.php \Drupal\sdc\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.

Hierarchy

Expanded class hierarchy of InvalidComponentDataException

2 files declare their use of InvalidComponentDataException
ComponentElement.php in core/lib/Drupal/Core/Render/Element/ComponentElement.php
ComponentRenderTest.php in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php

File

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

Namespace

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

}

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