Extend theme suggestions

Created on 27 August 2024, 4 months ago
Updated 6 September 2024, 3 months ago

Problem/Motivation

Add a theme suggestion for entity-extra-field--FIELDNAME.html.twig and other combinations.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

RTBC

Version

2.1

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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

Merge Requests

Comments & Activities

  • Issue created by @DamienMcKenna
  • Status changed to Needs review 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    For an extra field named "node_title" on the "article" content type, this is the suggestions list with the merge request:

    <!-- FILE NAME SUGGESTIONS:
       * entity-extra-field--node--article--node-title--full.html.twig
       x entity-extra-field--node--article--node-title.html.twig
       * entity-extra-field--node--article.html.twig
       * entity-extra-field--article--node-title--full.html.twig
       * entity-extra-field--article--node-title.html.twig
       * entity-extra-field--article.html.twig
       * entity-extra-field--node-title.html.twig
       * entity-extra-field.html.twig
    -->
    
  • Merge request !27Extended theme suggestions. β†’ (Open) created by DamienMcKenna
  • Status changed to RTBC 3 months ago
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Great @damienmckenna look full-featured now! :)
    It also looks like old suggestions are preserved, if I'm not missing anything. I guess you also checked that? (BC)

Production build 0.71.5 2024