function mailhandler_filter_info in Mailhandler 7.2
Implements hook_filter_info().
File
- ./
mailhandler.module, line 72 - Retrieves email for posting as nodes and comments.
Code
function mailhandler_filter_info() {
$filters['mailhandler'] = array(
'title' => t('Mailhandler signature remover'),
'description' => t('Strips signatures from emails.'),
'process callback' => '_mailhandler_filter_process',
'settings callback' => '_mailhandler_filter_settings',
'default settings' => array(
'sig_separator' => '-- ',
),
);
$filters['mailhandler_quoted'] = array(
'title' => t('Mailhandler quoted text fixer'),
'description' => t('Removes leading carets from quoted text'),
'process callback' => '_mailhandler_filter_process_quoted',
);
return $filters;
}