class DeprecatedExtendsRenderElement
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php \Drupal\element_info_test\Element\DeprecatedExtendsRenderElement
- 10 core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php \Drupal\element_info_test\Element\DeprecatedExtendsRenderElement
Provides render element that extends deprecated RenderElement for testing.
Attributes
#[RenderElement('deprecated_extends_render')]
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses \Drupal\Core\DependencyInjection\AutowiredInstanceTrait, \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait extends \Drupal\Component\Plugin\PluginBase
- class \Drupal\Core\Render\Element\RenderElementBase implements \Drupal\Core\Render\Element\ElementInterface extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\Core\Render\Element\RenderElement extends \Drupal\Core\Render\Element\RenderElementBase
- class \Drupal\element_info_test\Element\DeprecatedExtendsRenderElement extends \Drupal\Core\Render\Element\RenderElement
- class \Drupal\Core\Render\Element\RenderElement extends \Drupal\Core\Render\Element\RenderElementBase
- class \Drupal\Core\Render\Element\RenderElementBase implements \Drupal\Core\Render\Element\ElementInterface extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\Core\Plugin\PluginBase uses \Drupal\Core\DependencyInjection\AutowiredInstanceTrait, \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait extends \Drupal\Component\Plugin\PluginBase
Expanded class hierarchy of DeprecatedExtendsRenderElement
1 file declares its use of DeprecatedExtendsRenderElement
- DeprecatedElementTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ DeprecatedElementTest.php
File
-
core/
modules/ system/ tests/ modules/ element_info_test/ src/ Element/ DeprecatedExtendsRenderElement.php, line 14
Namespace
Drupal\element_info_test\ElementView source
class DeprecatedExtendsRenderElement extends RenderElementDeprecated {
// @phpcs:enable
/**
* {@inheritdoc}
*/
public function getInfo() {
return [];
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.