function template_process_uikit_view_accordion in UIkit Components 7.3
Same name and namespace in other branches
- 7.2 uikit_views/templates/uikit_views.theme.inc \template_process_uikit_view_accordion()
Prepares variables for UIkit Accordion templates.
Default template: uikit-view-accordion.tpl.php.
Parameters
array $variables: An associative array containing:
- view: A ViewExecutable object.
- rows: The raw row data.
File
- uikit_views/
templates/ uikit_views.theme.inc, line 65 - Preprocessors and helper functions to make theming easier.
Code
function template_process_uikit_view_accordion(&$variables) {
$variables['accordion_attributes'] = drupal_attributes($variables['accordion_attributes_array']);
}