You are here

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.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for name_item.
  5. *
  6. * Available variables:
  7. * - item: Keyed array of name components.
  8. * - format: The machine name of the format.
  9. * - settings: Additional settings to control the parser.
  10. * - formatted_name: Formatted name based on the item, format and settings.
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {{ formatted_name }}