You are here

function template_process_slick in Slick Carousel 7.3

Process variables for theme_slick(), or slick.tpl.php.

File

templates/slick.theme.inc, line 291
Hooks and preprocess functions for the Slick module.

Code

function template_process_slick(&$variables) {
  _slick_process_attributes($variables);
  foreach ([
    'arrow',
    'arrow_down',
  ] as $key) {
    $variables[$key . '_attributes'] = empty($variables[$key . '_attributes_array']) ? '' : drupal_attributes($variables[$key . '_attributes_array']);
  }
}