function quote_filter in Quote 5
Same name and namespace in other branches
- 6.2 quote.module \quote_filter()
- 6 quote.module \quote_filter()
Implementation of hook_filter().
File
- ./
quote.module, line 121
Code
function quote_filter($op, $delta = 0, $format = -1, $text = '') {
switch ($op) {
case 'list':
return array(
0 => t('Quote filter'),
);
case 'description':
return t('Converts [quote] tags into <div> tags. Must usually apply after HTML filters unless an exception is made for <div> tags.');
case 'process':
return _quote_filter_process($text);
default:
return $text;
}
}