class DeprecatedExtendsFormElement

Same name in other branches
  1. 10 core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php \Drupal\element_info_test\Element\DeprecatedExtendsFormElement

Provides render element that extends deprecated FormElement for testing.

@phpstan-ignore class.extendsDeprecatedClass

Hierarchy

Expanded class hierarchy of DeprecatedExtendsFormElement

1 file declares its use of DeprecatedExtendsFormElement
DeprecatedElementTest.php in core/tests/Drupal/KernelTests/Core/Render/Element/DeprecatedElementTest.php

File

core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php, line 15

Namespace

Drupal\element_info_test\Element
View source
class DeprecatedExtendsFormElement extends FormElementDeprecated {
    
    /**
     * {@inheritdoc}
     */
    public function getInfo() {
        return [];
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
DeprecatedExtendsFormElement::getInfo public function Returns the element properties for this element. Overrides ElementInterface::getInfo
FormElement::preRenderAjaxForm public static function Adds Ajax information about an element to communicate with JavaScript. Overrides RenderElementBase::preRenderAjaxForm
FormElement::preRenderGroup public static function Adds members of this group as actual elements for rendering. Overrides RenderElementBase::preRenderGroup
FormElement::processAjaxForm public static function Form element processing handler for the #ajax form property. Overrides RenderElementBase::processAjaxForm
FormElement::processAutocomplete public static function Adds autocomplete functionality to elements. Overrides FormElementBase::processAutocomplete
FormElement::processGroup public static function Arranges elements into groups. Overrides RenderElementBase::processGroup
FormElement::processPattern public static function #process callback for #pattern form element property. Overrides FormElementBase::processPattern
FormElement::setAttributes public static function Sets a form element's class attribute. Overrides RenderElementBase::setAttributes
FormElement::validatePattern public static function #element_validate callback for #pattern form element property. Overrides FormElementBase::validatePattern
FormElement::valueCallback public static function Determines how user input is mapped to an element's #value property. Overrides FormElementBase::valueCallback
FormElement::__construct public function
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 6
PluginInspectionInterface::getPluginId public function Gets the plugin ID of the plugin instance. 2

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