FormElement.php

Same filename in this branch
  1. 11.x core/lib/Drupal/Core/Render/Element/FormElement.php
  2. 11.x core/lib/Drupal/Core/Render/Annotation/FormElement.php
Same filename in other branches
  1. 9 core/lib/Drupal/Core/Render/Element/FormElement.php
  2. 9 core/lib/Drupal/Core/Render/Annotation/FormElement.php
  3. 8.9.x core/lib/Drupal/Core/Render/Element/FormElement.php
  4. 8.9.x core/lib/Drupal/Core/Render/Annotation/FormElement.php
  5. 10 core/lib/Drupal/Core/Render/Element/FormElement.php
  6. 10 core/lib/Drupal/Core/Render/Annotation/FormElement.php
  7. 10 core/lib/Drupal/Core/Render/Attribute/FormElement.php

Namespace

Drupal\Core\Render\Attribute

File

core/lib/Drupal/Core/Render/Attribute/FormElement.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Render\Attribute;


/**
 * Defines a form element plugin attribute object.
 *
 * See \Drupal\Core\Render\Element\FormElementInterface for more information
 * about form element plugins.
 *
 * Plugin Namespace: Element
 *
 * For a working example, see \Drupal\Core\Render\Element\Textfield.
 *
 * @see \Drupal\Core\Render\ElementInfoManager
 * @see \Drupal\Core\Render\Element\FormElementInterface
 * @see \Drupal\Core\Render\Element\FormElementBase
 * @see \Drupal\Core\Render\Attribute\RenderElement
 * @see plugin_api
 *
 * @ingroup theme_render
 */
class FormElement extends RenderElement {

}

Classes

Title Deprecated Summary
FormElement Defines a form element plugin attribute object.

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