You are here

function theme_current_search_group_wrapper in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 contrib/current_search/current_search.theme.inc \theme_current_search_group_wrapper()
  2. 7 contrib/current_search/current_search.theme.inc \theme_current_search_group_wrapper()

Adds wrapper markup around the group.

Parameters

$variables: An associative array containing:

  • element: The render array for the current search group.

File

contrib/current_search/current_search.theme.inc, line 79
Theme functions for the Current Search Blocks module.

Code

function theme_current_search_group_wrapper(array $variables) {
  $element = $variables['element'];
  $attributes = array(
    'class' => 'current-search-group',
  );
  return '<div' . drupal_attributes($attributes) . '>' . $element['#children'] . '</div>';
}