function freelinking_filter in Freelinking 5
Same name and namespace in other branches
- 6.3 freelinking.module \freelinking_filter()
- 6 freelinking.module \freelinking_filter()
- 6.2 freelinking.module \freelinking_filter()
File
- ./
freelinking.module, line 308
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
}