function theme_current_search_group_wrapper in Facet API 7
Same name and namespace in other branches
- 6.3 contrib/current_search/current_search.theme.inc \theme_current_search_group_wrapper()
- 7.2 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 83 - Theme functions for the Current Search Blocks module.
Code
function theme_current_search_group_wrapper(array $variables) {
$element = $variables['element'];
$attributes = array(
'class' => array(
'current-search-group current-search-group-' . drupal_html_class($element['#facet_name']),
),
'id' => $element['#id'],
);
return '<div' . drupal_attributes($attributes) . '>' . $element['#children'] . '</div>';
}