stable9.theme

Same filename in other branches
  1. 11.x core/themes/stable9/stable9.theme

Functions to support theming in the Stable9 theme.

File

core/themes/stable9/stable9.theme

View source
<?php


/**
 * @file
 * Functions to support theming in the Stable9 theme.
 */

/**
 * Implements hook_preprocess_item_list__search_results().
 *
 * Converts the markup of #empty for search results.
 */
function stable9_preprocess_item_list__search_results(&$variables) {
    if (isset($variables['empty']['#tag'])) {
        $variables['empty']['#tag'] = 'h3';
    }
}

Functions

Title Deprecated Summary
stable9_preprocess_item_list__search_results Implements hook_preprocess_item_list__search_results().

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