You are here

function lexicon_filter_info in Lexicon 7

Implements hook_filter_info().

File

./lexicon.module, line 560
The Lexicon module is used to create lists of terms and definitions to use on a website and optionally mark those terms in the content of the website.

Code

function lexicon_filter_info() {
  $filters['filter_lexicon'] = array(
    'title' => t('Mark Lexicon terms'),
    'description' => t('This filter will mark terms from Lexicon vocabularies if this feature is enabled in the Lexicon settings.'),
    'process callback' => '_filter_lexicon_process',
    'tips callback' => '_filter_lexicon_tips',
    'cache' => TRUE,
    'weight' => 50,
  );
  return $filters;
}