Template theme hook suggestions for Fields do not include ViewModes

Created on 7 June 2014, almost 11 years ago
Updated 9 March 2023, about 2 years ago

Problem/Motivation

As we added ViewMode template suggestions for Nodes here #1503464: Automatically add theme hook suggestion for node view mode and most probably for all entities: #2270883: Automatically add theme hook suggestions for all entity types .
We should also have suggestions for Fields.
Also because you can configure your Field Formatter per Viewmode, I think this is necessary.

Proposed resolution

Add Theme Hook Suggestions for Fields with View Modes

Remaining tasks

Write Patch

Feature request
Status

Needs work

Version

10.1

Component
Theme 

Last updated about 23 hours ago

Created by

🇨🇭Switzerland Schnitzel

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024