- last update
over 1 year ago 29,374 pass - Status changed to RTBC
over 1 year ago 6:16pm 5 May 2023 - last update
over 1 year ago 29,378 pass - last update
over 1 year ago 29,379 pass - last update
over 1 year ago 29,380 pass 32:29 31:17 Running- last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,395 pass - last update
over 1 year ago 29,396 pass - last update
over 1 year ago 29,399 pass - last update
over 1 year ago 29,399 pass - last update
over 1 year ago 29,400 pass - last update
over 1 year ago 29,409 pass - last update
over 1 year ago 29,414 pass - last update
over 1 year ago 29,418 pass - last update
over 1 year ago 29,420 pass - last update
over 1 year ago 29,420 pass - last update
over 1 year ago 29,425 pass - last update
over 1 year ago 29,429 pass - last update
over 1 year ago 29,430 pass - last update
over 1 year ago 29,430 pass - last update
over 1 year ago 29,436 pass -
longwave →
committed d21fd5d2 on 11.x
Issue #2953921 by andypost, donquixote, borisson_, effulgentsia:...
-
longwave →
committed d21fd5d2 on 11.x
- Status changed to Fixed
over 1 year ago 10:17pm 22 June 2023 - 🇬🇧United Kingdom longwave UK
Committed and pushed d21fd5d28e to 11.x (10.2.x). Thanks!
As a straight refactor I don't think this needs a CR, I suspect people will never override it but it does make the parent method slightly shorter.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 1 year ago 11:11am 20 December 2023 - 🇷🇴Romania claudiu.cristea Arad 🇷🇴
This change broke our site when switching to Drupal 10.2. Indeed, we've implemented
hook_theme_suggestions_HOOK_alter()
in a way that is not following the docs. We did:function mytheme_suggestions_page_title_alter(array &$suggestions, array &$variables): void { ... $variables['foo'] = $bar; }
Note that
$variables
is passed by reference which doesn't follow the signature ofhook_theme_suggestions_HOOK_alter()
. But that is still possible with hook implementation as, with hooks, there's no strong, enforcement on signature (like with interfaces/classes).As,
buildThemeHookSuggestions()
doesn't pass$variables
by reference, the change is lost.I wonder if this could be considered a regression. What if there are more such unorthodox hook implementations out in the wild?
- 🇷🇴Romania claudiu.cristea Arad 🇷🇴