field-multiple-value-form.html.twig
Default theme implementation for an individual form element.
Available variables for all fields:
- multiple: Whether there are multiple instances of the field.
Available variables for single cardinality fields:
- elements: Form elements to be rendered.
Available variables when there are multiple fields.
- table: Table of field items.
-
description: The description element containing the following properties:
- content: The description content of the form element.
- attributes: HTML attributes to apply to the description container.
- button: "Add another item" button.
See also
template_preprocess_field_multiple_value_form()
File
core/modules/system/templates/field-multiple-value-form.html.twigRelated topics
- Theme system overview
- Functions and templates for the user interface that themes can override.
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!system!templates!field-multiple-value-form.html.twig/8.1.x