function emptyparagraphkiller_filter_info in Empty paragraph killer 7
Implements hook_filter_info().
File
- ./
emptyparagraphkiller.module, line 12 - Empty paragraph killer: because users are sometimes overzealous with the return key.
Code
function emptyparagraphkiller_filter_info() {
$filters['emptyparagraphkiller'] = array(
'title' => t('Empty paragraph filter'),
'description' => t('When entering more than one carriage return, only the first will be honored.'),
'prepare callback' => '_emptyparagraphkiller_prepare',
'process callback' => '_emptyparagraphkiller_process',
'tips callback' => '_emptyparagraphkiller_tips',
);
return $filters;
}