Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_theme_suggestions_alter()
  2. 9 core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_theme_suggestions_alter()

Implements hook_theme_suggestions_alter().

File

core/modules/system/tests/modules/theme_test/theme_test.module, line 164
Test module.

Code

function theme_test_theme_suggestions_alter(array &$suggestions, array $variables, $hook) {
  \Drupal::messenger()
    ->addStatus(__FUNCTION__ . '() executed for ' . $hook . '.');
}