You are here

function prevnext_theme in Prevnext 2.0.x

Same name and namespace in other branches
  1. 8 prevnext.module \prevnext_theme()
  2. 7 prevnext.module \prevnext_theme()
  3. 2.x prevnext.module \prevnext_theme()

Implements hook_theme().

File

./prevnext.module, line 34
Contains prevnext.module.

Code

function prevnext_theme($existing, $type, $theme, $path) {
  $themes = [];
  $themes['prevnext'] = [
    'variables' => [
      'direction' => '',
      'text' => '',
      'nid' => '',
      'url' => '',
      'void' => TRUE,
    ],
  ];
  return $themes;
}