Skip to content
Twig Field Finder
Theme

Link — options (attributes)

Fill in your field name

Italic values are placeholders: replace them with your own machine names, or let the builder do it.

Reads the entity directly, before field formatters run.

  1. Twig
    {{ node.field_name.0.options }}

Uses a contrib module’s Twig filter or function.

  1. {{ content.field_name|field_value|first['#options'] }}

Contrib modules used

See helper modules for what each one provides.