You are here

function footnotes_theme in Footnotes 7.2

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

Implementation of hook_theme()

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

File

./footnotes.module, line 305
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(
      'render element' => 'fn',
    ),
    'footnote_list' => array(
      'render element' => 'footnotes',
    ),
  );
}