You are here

function template_process_uikit_view_grid in UIkit Components 7.3

Same name and namespace in other branches
  1. 7.2 uikit_views/templates/uikit_views.theme.inc \template_process_uikit_view_grid()

Prepares variables for UIkit Grid templates.

Default template: uikit-view-grid.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 120
Preprocessors and helper functions to make theming easier.

Code

function template_process_uikit_view_grid(&$variables) {
  $variables['attributes'] = drupal_attributes($variables['attributes_array']);
}