function glossary_filter in Glossary 5.2
Same name and namespace in other branches
- 5 glossary.module \glossary_filter()
- 6 glossary.module \glossary_filter()
File
- ./
glossary.module, line 387 - Glossary terms will be automatically marked with links to their descriptions.
Code
function glossary_filter($op, $delta = 0, $format = -1, $text = "") {
switch ($op) {
case 'list':
return array(
0 => t('Glossary filter'),
);
case 'description':
return glossary_help('admin/modules#description');
case 'process':
return _glossary_filter_process($format, $text);
// case 'settings':
// return _glossary_filter_settings($format);
case 'no cache':
return FALSE;
default:
return $text;
}
}