Skip to content
Twig Field Finder
Theme

Author — custom user field

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.uid.entity.field_name.value }}

Gotcha

Example from the original doc: firstname, a custom field on the user entity.