FormElement.php

Same filename in this branch
  1. 8.9.x core/lib/Drupal/Core/Render/Element/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. 10 core/lib/Drupal/Core/Render/Element/FormElement.php
  4. 10 core/lib/Drupal/Core/Render/Annotation/FormElement.php
  5. 11.x core/lib/Drupal/Core/Render/Element/FormElement.php
  6. 11.x core/lib/Drupal/Core/Render/Annotation/FormElement.php
  7. 11.x core/lib/Drupal/Core/Render/Attribute/FormElement.php
  8. 10 core/lib/Drupal/Core/Render/Attribute/FormElement.php

Namespace

Drupal\Core\Render\Annotation

File

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

View source
<?php

namespace Drupal\Core\Render\Annotation;


/**
 * Defines a form element plugin annotation 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\FormElement
 * @see \Drupal\Core\Render\Annotation\RenderElement
 * @see plugin_api
 *
 * @ingroup theme_render
 *
 * @Annotation
 */
class FormElement extends RenderElement {

}

Classes

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

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