function ThemeTestHooks::preprocessThemeTest

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::preprocessThemeTest()

Preprocesses variables for theme_theme_test().

File

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

Class

ThemeTestHooks
Hook implementations for theme_test.

Namespace

Drupal\theme_test\Hook

Code

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

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