function pagerer_theme in Pagerer 8
Same name and namespace in other branches
- 8.2 pagerer.module \pagerer_theme()
- 7 pagerer.module \pagerer_theme()
Implements hook_theme().
File
- ./
pagerer.module, line 29 - Pagerer.
Code
function pagerer_theme() {
$theme = [
'pagerer' => [
'render element' => 'pager',
],
'pagerer_base' => [
'render element' => 'pager',
],
'pagerer_mini' => [
'variables' => [
'id' => NULL,
'title' => NULL,
'value' => 0,
'min' => 0,
'max' => 0,
'step' => 0,
'button' => 'auto',
'state' => [],
],
],
'pagerer_slider' => [
'variables' => [
'id' => NULL,
'title' => NULL,
'state' => [],
],
],
'pagerer_slider_icon' => [
'variables' => [
'icon' => NULL,
],
],
'pagerer_scrollpane_button' => [
'variables' => [
'scope' => '',
'text' => NULL,
'title' => NULL,
],
],
];
return $theme;
}