You are here

function footnotes_filter_info in Footnotes 7.2

Same name and namespace in other branches
  1. 7.3 footnotes.module \footnotes_filter_info()

Implementation of hook_filter_info().

File

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

Code

function footnotes_filter_info() {
  $filters['filter_footnotes'] = array(
    'title' => t('Footnotes'),
    'description' => t('Insert automatically numbered footnotes using <fn> or [fn] tags.'),
    'process callback' => '_footnotes_filter',
    'settings callback' => '_footnotes_settings',
    'default settings' => array(
      'footnotes_collapse' => 0,
    ),
    'tips callback' => '_footnotes_filter_tips',
    'weight' => -20,
  );
  return $filters;
}