You are here

function tableofcontents_theme in Table of Contents 6.2

Same name and namespace in other branches
  1. 6.3 tableofcontents.module \tableofcontents_theme()
  2. 7.2 tableofcontents.module \tableofcontents_theme()
  3. 7 tableofcontents.module \tableofcontents_theme()

Implementation of hook_theme

Return value

Array of theme hooks this module implements.

File

./tableofcontents.module, line 366
This is a filter module to generate a collapsible jquery enabled mediawiki style table of contents based on <h[1-6]> tags. Transforms header tags into named anchors.

Code

function tableofcontents_theme() {
  return array(
    'tableofcontents_toc' => array(
      'arguments' => array(
        'toc' => NULL,
        'options' => NULL,
        'files' => array(),
      ),
    ),
  );
}