function theme_test_theme_suggestions_alter

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_theme_suggestions_alter()
  2. 8.9.x core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_theme_suggestions_alter()
  3. 10 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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.