function theme_current_search_group_wrapper in Facet API 6.3
Same name and namespace in other branches
- 7.2 contrib/current_search/current_search.theme.inc \theme_current_search_group_wrapper()
- 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>';
}