DeprecatedExtendsFormElement.php

Same filename in other branches
  1. 11.x core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php

Namespace

Drupal\element_info_test\Element

File

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

View source
<?php

namespace Drupal\element_info_test\Element;

use Drupal\Core\Render\Attribute\FormElement;
use Drupal\Core\Render\Element\FormElement as FormElementDeprecated;

/**
 * Provides render element that extends deprecated FormElement for testing.
 *
 * @phpstan-ignore-next-line
 */
class DeprecatedExtendsFormElement extends FormElementDeprecated {
    
    /**
     * {@inheritdoc}
     */
    public function getInfo() {
        return [];
    }

}

Classes

Title Deprecated Summary
DeprecatedExtendsFormElement Provides render element that extends deprecated FormElement for testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.