name-item.html.twig in Name Field 8
Default theme implementation for name_item.
Available variables:
- item: Keyed array of name components.
- format: The machine name of the format.
- settings: Additional settings to control the parser.
- formatted_name: Formatted name based on the item, format and settings.
File
templates/name-item.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for name_item.
- *
- * Available variables:
- * - item: Keyed array of name components.
- * - format: The machine name of the format.
- * - settings: Additional settings to control the parser.
- * - formatted_name: Formatted name based on the item, format and settings.
- *
- * @ingroup themeable
- */
- #}
- {{ formatted_name }}