function test_theme_preprocess_theme_test_preprocess_suggestions__suggestion
Tests a theme overriding a default hook with a suggestion.
File
-
core/
modules/ system/ tests/ themes/ test_theme/ test_theme.theme, line 90
Code
function test_theme_preprocess_theme_test_preprocess_suggestions__suggestion(&$variables) {
$variables['foo'] = 'Suggestion';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.