Add theme suggestion for entity-extra-field--FIELDNAME.html.twig

Created on 27 August 2024, 11 months ago

Problem/Motivation

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

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

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 11 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 11 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)

  • Pipeline finished with Success
    6 months ago
    Total: 212s
    #411960
  • Pipeline finished with Success
    6 months ago
    Total: 203s
    #411964
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    @damienmckenna thanks a lot! I like this and I'd really like to merge this, but I'm not sure how many projects it might break, what do you think how risky this is? Doesn't seem to be fully bw-compatible in all edge cases?

Production build 0.71.5 2024