function template_process_slick_grid in Slick Carousel 7.2
Same name and namespace in other branches
- 7.3 templates/slick.theme.inc \template_process_slick_grid()
Implements hook_process_slick_grid().
File
- templates/
slick.theme.inc, line 337 - Hooks and preprocess functions for the Slick module.
Code
function template_process_slick_grid(&$variables) {
$variables['attributes'] = empty($variables['attributes_array']) ? '' : drupal_attributes($variables['attributes_array']);
foreach ($variables['items'] as $delta => $item) {
$variables['item_attributes'][$delta] = empty($variables['item_attributes_array'][$delta]) ? '' : drupal_attributes($variables['item_attributes_array'][$delta]);
}
}