DeprecatedExtendsRenderElement.php
Same filename and directory in other branches
Namespace
Drupal\element_info_test\ElementFile
-
core/
modules/ system/ tests/ modules/ element_info_test/ src/ Element/ DeprecatedExtendsRenderElement.php
View source
<?php
declare (strict_types=1);
namespace Drupal\element_info_test\Element;
use Drupal\Core\Render\Attribute\RenderElement;
use Drupal\Core\Render\Element\RenderElement as RenderElementDeprecated;
// @phpcs:disable
/**
* Provides render element that extends deprecated RenderElement for testing.
*/
class DeprecatedExtendsRenderElement extends RenderElementDeprecated {
// @phpcs:enable
/**
* {@inheritdoc}
*/
public function getInfo() {
return [];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DeprecatedExtendsRenderElement | Provides render element that extends deprecated RenderElement for testing. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.