You are here

function glossary_filter in Glossary 5

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

File

./glossary.module, line 258

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;
  }
}