function lexicon_filter in Lexicon 6
Implementation of hook_filter().
File
- ./
lexicon.module, line 405 - Lexicon is used to create lists of terms and definitions to use on a website and optionally mark them in the content with an indicator.
Code
function lexicon_filter($op, $delta = 0, $format = -1, $text = "") {
switch ($op) {
case 'list':
return array(
0 => t('Lexicon filter'),
);
case 'description':
return t('Maintain one or more lexicons on your site.');
case 'process':
return _lexicon_filter_process($text);
case 'no cache':
return FALSE;
default:
return $text;
}
}