You are here

function prev_next_theme in Previous/Next API 8.2

Implements hook_theme().

File

./prev_next.module, line 29
Contains prev_next.module.

Code

function prev_next_theme($existing, $type, $theme, $path) {
  $theme = [
    'prev_next_block' => [
      'variables' => [
        'prev_display' => NULL,
        'prev_text' => NULL,
        'prev_id' => NULL,
        'next_display' => NULL,
        'next_text' => NULL,
        'next_id' => NULL,
      ],
    ],
  ];
  return $theme;
}