class DeprecatedExtendsRenderElement

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php \Drupal\element_info_test\Element\DeprecatedExtendsRenderElement
  2. 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

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\Element
View 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.