function theme_legacy_test_theme_suggestions_alter in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module \theme_legacy_test_theme_suggestions_alter()
Implements hook_theme_suggestions_alter().
File
- core/
modules/ system/ tests/ modules/ theme_legacy_test/ theme_legacy_test.module, line 98 - Test module for legacy theme functions.
Code
function theme_legacy_test_theme_suggestions_alter(array &$suggestions, array $variables, $hook) {
\Drupal::messenger()
->addStatus(__FUNCTION__ . '() executed for ' . $hook . '.');
}