Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Field Group does not provide any theme suggestions for sub-theming.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#3 | theme_suggestions-2702805-1.1.patch | 5.58 KB | jeffreyisham |
#2 | theme_suggestions-2702805-1.patch | 5.61 KB | freality |
Comments
Comment #2
freality CreditAttribution: freality commentedThe 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).
Comment #3
jeffreyisham CreditAttribution: jeffreyisham as a volunteer commentedUpdate to fix php fatal error, Call-time pass-by-reference.
Comment #4
ABaier CreditAttribution: ABaier commentedI 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!
Comment #6
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedThx for the patch and review. I committed it to dev