You are here

function pagerer_theme in Pagerer 8.2

Same name and namespace in other branches
  1. 8 pagerer.module \pagerer_theme()
  2. 7 pagerer.module \pagerer_theme()

Implements hook_theme().

File

./pagerer.module, line 35
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;
}