- 🇮🇳India yash.rode pune
Hi, I was trying to reproduce this problem, but I was not able to do so.
I created and installed a Custom module with/** * Implements hook_theme_suggestions_alter(). */ function my_mod_theme_suggestions_alter(array &$suggestions, array $variables, $hook) { $suggestions[] = $hook . '__minimal'; }
and tested if the
form-element-label.html.twig
is replaced with the newform-element-label--minimal.html.twig
.
The new template is overriding the original template. below is the snapshot showing the same
As it can be seem from the above image, I have addedminimalto
form-element-label--minimal.html.twig
. Also it is loadingform-element-label--minimal.html.twig
instead ofform-element-labe.html.twig
.TLDR either the issue does not exist anymore as the issue is quite old or I am missing something in the steps to reproduce.
- Status changed to Postponed: needs info
8 months ago 12:57pm 13 May 2024 - 🇺🇸United States smustgrave
Thanks for testing that @yash.rode!
@intrafusion or anyone could you confirm the issue still exists? If so update the issue summary.
- Status changed to Closed: works as designed
7 months ago 7:54am 20 May 2024 - 🇬🇧United Kingdom intrafusion Edinburgh, UK
Would appear that somewhere between 8.5 & 11 this has been rectified