You are here

function glossary_filter in Glossary 6

Same name and namespace in other branches
  1. 5.2 glossary.module \glossary_filter()
  2. 5 glossary.module \glossary_filter()

File

./glossary.module, line 423
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 t('Maintain one or more glossaries on your site.');
    case 'process':
      return _glossary_filter_process($format, $text);

    //    case 'settings':
    //      return _glossary_filter_settings($format);
    case 'no cache':
      return FALSE;
    default:
      return $text;
  }
}