function theme_toc_filter_back_to_top in TOC filter 6
Same name and namespace in other branches
- 7 toc_filter.module \theme_toc_filter_back_to_top()
Format back to top anchor link.
1 theme call to theme_toc_filter_back_to_top()
- _toc_filter_process_callback in ./
toc_filter.module - TOC filter processor callback: Convert's <h2> to a linked table of contents.
File
- ./
toc_filter.module, line 236 - Converts header tags into a linked table of contents.
Code
function theme_toc_filter_back_to_top($class = '') {
return '<div class="toc-filter-back-to-top' . ($class ? ' ' . $class : '') . '"><a href="#top">' . t('Back to top') . '</a></div>';
}