function test_theme_preprocess_theme_test_preprocess_suggestions__kitten__flamingo

Same name in other branches
  1. 9 core/modules/system/tests/themes/test_theme/test_theme.theme \test_theme_preprocess_theme_test_preprocess_suggestions__kitten__flamingo()
  2. 8.9.x core/modules/system/tests/themes/test_theme/test_theme.theme \test_theme_preprocess_theme_test_preprocess_suggestions__kitten__flamingo()
  3. 11.x core/modules/system/tests/themes/test_theme/test_theme.theme \test_theme_preprocess_theme_test_preprocess_suggestions__kitten__flamingo()

Tests a theme overriding a default hook with a suggestion.

File

core/modules/system/tests/themes/test_theme/test_theme.theme, line 114

Code

function test_theme_preprocess_theme_test_preprocess_suggestions__kitten__flamingo(&$variables) {
    $variables['bar'] = 'Flamingo';
}

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