- Issue created by @mstrelan
- 🇮🇳India hetal.solanki
@mstrelan
After step reproduce in Drupal version 11.x-dev and checkout branch.
So the MR!10964 looks good to me. That's why moving this issue to RTBC!
Thank you!!
- 🇳🇿New Zealand quietone
I applied the diff and searched and still see instances without a return type. Is there a reason these are excluded?
(11.x)$ git grep "function.*_theme_suggestions" | grep ") {" core/lib/Drupal/Core/Render/theme.api.php: * function node_theme_suggestions_node(array $variables) { core/lib/Drupal/Core/Render/theme.api.php: * function MY_MODULE_theme_suggestions_alter(array &$suggestions, array &$variables, $hook) { core/lib/Drupal/Core/Render/theme.api.php:function hook_theme_suggestions_alter(array &$suggestions, array &$variables, $hook) { core/lib/Drupal/Core/Render/theme.api.php: * function MY_MODULE_theme_suggestions_node_alter(array &$suggestions, array $variables) { core/lib/Drupal/Core/Render/theme.api.php:function hook_theme_suggestions_HOOK_alter(array &$suggestions, array &$variables) { core/modules/big_pipe/big_pipe.module:function big_pipe_theme_suggestions_big_pipe_interface_preview(array $variables) { core/modules/node/node.module:function node_theme_suggestions_node(array $variables) { core/modules/views_ui/views_ui.module:function views_ui_theme_suggestions_views_ui_view_preview_section(array $variables) {
- 🇦🇺Australia mstrelan
Looks like I missed some.
Fixed and added to the IS:
- node_theme_suggestions_node
- big_pipe_theme_suggestions_big_pipe_interface_preview
- views_ui_theme_suggestions_views_ui_view_preview_section
These are alter hooks that return void and have not been updated here.
- MY_MODULE_theme_suggestions_alter
- hook_theme_suggestions_alter
- MY_MODULE_theme_suggestions_node_alter
- hook_theme_suggestions_HOOK_alter