You are here

function theme_flickity in Flickity Carousel 8

Same name and namespace in other branches
  1. 8.2 theme/flickity.theme.inc \theme_flickity()
  2. 3.0.x theme/flickity.theme.inc \theme_flickity()

Theme declaration for Flickity.

1 string reference to 'theme_flickity'
flickity_theme in ./flickity.module
Implements hook_theme().
1 theme call to theme_flickity()
theme_flickity_views in modules/views/theme/flickity_views.theme.inc
Theme declaration for Flickity Views.

File

theme/flickity.theme.inc, line 36
flickity.theme.inc

Code

function theme_flickity($variables) {
  $output = array(
    '#output' => array(
      'settings' => $variables['settings'],
      'items' => $variables['items'],
    ),
    '#pre_render' => array(
      'flickity_pre_render_element',
    ),
  );
  return drupal_render($output);
}