DeprecatedExtendsRenderElement.php

Same filename in other branches
  1. 10 core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php

Namespace

Drupal\element_info_test\Element

File

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;

/**
 * Provides render element that extends deprecated RenderElement for testing.
 *
 * @phpstan-ignore class.extendsDeprecatedClass
 */
class DeprecatedExtendsRenderElement extends RenderElementDeprecated {
    
    /**
     * {@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.