DeprecatedExtendsRenderElement.php

Namespace

Drupal\element_info_test\Element

File

core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php

View source
<?php

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-next-line
 */
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.