You are here

function freelinking_filter in Freelinking 6.2

Same name and namespace in other branches
  1. 5 freelinking.module \freelinking_filter()
  2. 6.3 freelinking.module \freelinking_filter()
  3. 6 freelinking.module \freelinking_filter()

File

./freelinking.module, line 286

Code

function freelinking_filter($op, $delta = 0, $format = -1, $text = '') {
  switch ($op) {
    case 'list':
      return array(
        0 => t('freelinking filter'),
      );
      break;
    case 'name':
      return t('freelinking filter');
      break;
    case 'description':
      return t('Enables freelinking between nodes with CamelCase or delimiters like [[ and ]].');
      break;
    case 'process':
      return _freelinking_do_filtering($text, FALSE);
      break;
    case 'prepare':
      return $text;
      break;
  }

  // endswitch $op
}