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

Tests a module overriding a default hook with a suggestion.

File

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

Code

function theme_test_preprocess_theme_test_preprocess_suggestions__monkey(&$variables) {
  $variables['foo'] = 'Monkey';
}