function theme_test_theme_suggestions_theme_test_preprocess_suggestions

Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_theme_suggestions_theme_test_preprocess_suggestions()
  2. 10 core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_theme_suggestions_theme_test_preprocess_suggestions()
  3. 11.x core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_theme_suggestions_theme_test_preprocess_suggestions()

Implements hook_theme_suggestions_HOOK().

File

core/modules/system/tests/modules/theme_test/theme_test.module, line 96

Code

function theme_test_theme_suggestions_theme_test_preprocess_suggestions($variables) {
    return [
        'theme_test_preprocess_suggestions__' . $variables['foo'],
    ];
}

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