You are here

function footnotes_theme in Footnotes 6.2

Same name and namespace in other branches
  1. 8.2 footnotes.module \footnotes_theme()
  2. 5.2 footnotes.module \footnotes_theme()
  3. 7.3 footnotes.module \footnotes_theme()
  4. 7.2 footnotes.module \footnotes_theme()

Implementation of hook_theme()

Thanks to emfabric for this implementation. http://drupal.org/node/221156

File

./footnotes.module, line 438
The Footnotes module is a filter that can be used to insert automatically numbered footnotes into Drupal texts.

Code

function footnotes_theme() {
  return array(
    'footnote_link' => array(
      'arguments' => array(
        'fn' => NULL,
      ),
    ),
    'footnote_list' => array(
      'arguments' => array(
        'footnotes' => NULL,
      ),
    ),
  );
}