' . t('About') . ''; $output .= '
' . t('Inline footnote links for BibCite References') . '
'; return $output; default: } } /** * Implements hook_theme(). */ function bibcite_footnotes_theme() { return [ 'bibcite_footnotes' => [ 'render element' => 'children', ], ]; } function bibcite_footnotes_theme_registry_alter(&$theme_registry) { $theme_registry['footnote_list']['function'] = 'bibcite_footnotes_theme_footnote_list'; } function bibcite_footnotes_theme_footnote_list($footnotes) { // @todo: change this ugly array for arguments in the function. $footnotes = $footnotes['footnotes']['#footnotes']; $str = '