function theme_flickity_views in Flickity Carousel 3.0.x
Same name and namespace in other branches
- 8.2 modules/views/theme/flickity_views.theme.inc \theme_flickity_views()
- 8 modules/views/theme/flickity_views.theme.inc \theme_flickity_views()
Theme declaration for Flickity Views.
File
- modules/
views/ theme/ flickity_views.theme.inc, line 30 - flickity_views.theme.inc
Code
function theme_flickity_views($variables) {
$output = array(
'#theme' => 'flickity',
'#items' => $variables['items'],
'#settings' => $variables['settings']['settings'],
);
return \Drupal::service('renderer')
->render($output);
}