function test_legacy_theme_theme_test_preprocess_suggestions__kitten__meerkat

Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/themes/test_legacy_theme/test_legacy_theme.theme \test_legacy_theme_theme_test_preprocess_suggestions__kitten__meerkat()

Tests a theme overriding a suggestion of a base theme hook.

File

core/modules/system/tests/themes/test_legacy_theme/test_legacy_theme.theme, line 13

Code

function test_legacy_theme_theme_test_preprocess_suggestions__kitten__meerkat($variables) {
    return 'Theme hook implementor=test_theme_theme_test__suggestion(). Foo=' . $variables['foo'];
}

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