You are here

function footnotes_theme in Footnotes 8.2

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

Implements hook_theme().

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

File

./footnotes.module, line 31
This file contains the hooks for Footnotes module.

Code

function footnotes_theme() {
  return [
    'footnote_link' => [
      'variables' => [
        'fn' => NULL,
      ],
    ],
    'footnote_list' => [
      'variables' => [
        'footnotes' => NULL,
      ],
    ],
  ];
}