I have a page view with three Views Fieldset fields. Is there a way to override the fieldset template for one of the three fields?

I tried saving the "views-fieldsets-details.html.twig" in my theme as "views-fieldsets-details--fieldset_1.html.twig" and clearing the cache, but it isn't taking.

I appreciate any help given.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

naero created an issue. See original summary.

kecsot’s picture

Yes, as I see hook suggestions are missing from Drupal 8+ version.

smustgrave’s picture

Version: 8.x-3.3 » 4.0.x-dev
Category: Support request » Bug report
Parent issue: » #3384586: Meta 4.0.0 release

smustgrave’s picture

Status: Active » Needs review

Try this.

bramdriesen’s picture

Status: Needs review » Reviewed & tested by the community

Besides one PHPCS remark it looks okay to me

smustgrave’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! Fixed the phpcs issue. Didn't notice gitlab flagged that, have to remember to check that now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.