function theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter
Same name in other branches
- 8.9.x core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module \theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter()
- 10 core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module \theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter()
- 11.x core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module \theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter()
Implements hook_theme_suggestions_HOOK_alter().
File
-
core/
modules/ system/ tests/ modules/ theme_suggestions_test/ theme_suggestions_test.module, line 21
Code
function theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter(array &$suggestions, array $variables) {
\Drupal::messenger()->addStatus(__FUNCTION__ . '() executed.');
$suggestions[] = 'theme_test_suggestions__module_override';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.