function ThemeTestThemeHooks1::preprocessThemeTestPreprocessSuggestions

Implements hook_preprocess_HOOK().

Attributes

#[Hook('preprocess_theme_test_preprocess_suggestions')]

File

core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestThemeHooks1.php, line 37

Class

ThemeTestThemeHooks1
Hook implementations for theme_test.

Namespace

Drupal\theme_test\Hook

Code

public function preprocessThemeTestPreprocessSuggestions(&$variables) : void {
  $variables['foo'] = 'Theme hook implementor=theme_theme_test_preprocess_suggestions().';
}

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