Field Group does not provide any theme suggestions for sub-theming.

Patch forthcoming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

freality created an issue. See original summary.

freality’s picture

The attached patch adds the needed hook_theme_suggestions_alter function. It also modifies FieldGroupFormatterBase and its sub-classes to add needed variation metadata (entity_type, bundle, and group_name).

jeffreyisham’s picture

Update to fix php fatal error, Call-time pass-by-reference.

ABaier’s picture

I can confirm that the patch of comment #3 is working correctly. Before applying it, I was not even able to override field-group-html-element.html.twig. Thanks!

nils.destoop’s picture

Status: Active » Fixed

Thx for the patch and review. I committed it to dev

Status: Fixed » Closed (fixed)

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