class DeprecatedExtendsFormElement
Same name in other branches
- 11.x 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-next-line
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\Core\Render\Element\RenderElementBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Render\Element\ElementInterface
- class \Drupal\Core\Render\Element\FormElementBase extends \Drupal\Core\Render\Element\RenderElementBase implements \Drupal\Core\Render\Element\FormElementInterface
- class \Drupal\Core\Render\Element\FormElement extends \Drupal\Core\Render\Element\FormElementBase
- class \Drupal\element_info_test\Element\DeprecatedExtendsFormElement extends \Drupal\Core\Render\Element\FormElement
- class \Drupal\Core\Render\Element\FormElement extends \Drupal\Core\Render\Element\FormElementBase
- class \Drupal\Core\Render\Element\FormElementBase extends \Drupal\Core\Render\Element\RenderElementBase implements \Drupal\Core\Render\Element\FormElementInterface
- class \Drupal\Core\Render\Element\RenderElementBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Render\Element\ElementInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
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 13
Namespace
Drupal\element_info_test\ElementView 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.