Field: Node module overrides

Created on 25 December 2024, 27 days ago

Problem/Motivation

In Core's Node module, there are 3 templates overrides of field.html.twig, https://git.drupalcode.org/project/drupal/-/tree/11.x/core/modules/node/... :

  • field--node--created.html.twig
  • field--node--title.html.twig
  • field--node--uid.html.twig

See node_preprocess_field__node.

Discuss if we need to override it ourselves to go back to default behavior?

Otherwise if we want to put created field in Layout Builder, label is not displayed.

Feature request
Status

Active

Version

5.1

Component

Miscellaneous

Created by

🇫🇷France Grimreaper France 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024