function slick_theme in Slick Carousel 8
Same name and namespace in other branches
- 8.2 slick.module \slick_theme()
- 7.3 slick.module \slick_theme()
- 7 slick.module \slick_theme()
- 7.2 slick.module \slick_theme()
Implements hook_theme().
File
- ./
slick.module, line 14 - Slick carousel integration, the last carousel you'll ever need.
Code
function slick_theme() {
$themes = [];
$all = [
'slick',
'slide',
'grid',
'image',
'thumbnail',
'vanilla',
'wrapper',
];
foreach ($all as $item) {
$key = $item == 'slick' ? $item : 'slick_' . $item;
$themes[$key] = [
'render element' => 'element',
'file' => 'templates/slick.theme.inc',
];
}
return $themes;
}