function stable9_preprocess_item_list__search_results
Same name in other branches
- 11.x core/themes/stable9/stable9.theme \stable9_preprocess_item_list__search_results()
Implements hook_preprocess_item_list__search_results().
Converts the markup of #empty for search results.
File
-
core/
themes/ stable9/ stable9.theme, line 13
Code
function stable9_preprocess_item_list__search_results(&$variables) {
if (isset($variables['empty']['#tag'])) {
$variables['empty']['#tag'] = 'h3';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.