function TestThemeHooks::preprocessThemeTestPreprocessSuggestions__kitten__meerkat__tarsier__moose

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/themes/test_theme/src/Hook/TestThemeHooks.php \Drupal\test_theme\Hook\TestThemeHooks::preprocessThemeTestPreprocessSuggestions__kitten__meerkat__tarsier__moose()

Implements hook_preprocess_HOOK().

Tests a preprocess function with suggestions.

Attributes

#[Hook('preprocess_theme_test_preprocess_suggestions__kitten__meerkat__tarsier__moose')]

File

core/modules/system/tests/themes/test_theme/src/Hook/TestThemeHooks.php, line 155

Class

TestThemeHooks
Hook implementations for test_theme.

Namespace

Drupal\test_theme\Hook

Code

public function preprocessThemeTestPreprocessSuggestions__kitten__meerkat__tarsier__moose(array &$variables) : void {
  $variables['bar'] = 'Moose';
}

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