You are here

function prevnext_theme in Prevnext 8

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

Implements hook_theme().

File

./prevnext.module, line 31
Contains prevnext.module.

Code

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