You are here

function pagination_theme in Pagination (Node) 6

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

@desc Implementation of hook_theme()

File

./pagination.module, line 74
pagination.module @desc Allow for arbitrary nodes to be paginated. administrators can set which nodes they wish to paginate, and the length of content required to split a node into pages. Alternatively, content creators can set manual break points…

Code

function pagination_theme() {
  $theme['pagination_toc'] = array(
    'arguments' => array(
      'toc' => null,
      'title' => null,
      'pages' => array(),
    ),
    'template' => 'toc',
  );
  $theme['pagination_admin_settings'] = array(
    'arguments' => array(
      'form' => null,
    ),
    'function' => 'theme_pagination_admin_settings',
  );
  return $theme;
}