You are here

function pagination_theme in Pagination (Node) 7

Same name and namespace in other branches
  1. 6 pagination.module \pagination_theme()

Implementation of hook_theme().

File

./pagination.module, line 85

Code

function pagination_theme($existing, $type, $theme, $path) {
  $items['pagination_toc'] = array(
    'variables' => array(
      'toc' => NULL,
      'title' => NULL,
      'pages' => array(),
    ),
    'template' => 'toc',
    'path' => $path . '/theme',
  );
  $items['pagination_admin_settings'] = array(
    'render element' => 'form',
  );
  return $items;
}