function ThemeTestHooks::preprocessTestSuggestions

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php \Drupal\theme_test\Hook\ThemeTestHooks::preprocessTestSuggestions()

Implements hook_preprocess_HOOK().

Attributes

#[Hook('preprocess_theme_test_preprocess_suggestions__monkey')]

File

core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php, line 156

Class

ThemeTestHooks
Hook implementations for theme_test.

Namespace

Drupal\theme_test\Hook

Code

public function preprocessTestSuggestions(array &$variables) : void {
  $variables['foo'] = 'Monkey';
}

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