You are here

function profanity_filter_info in Profanity 7

Implements hook_filter_info().

File

./profanity.module, line 116
Main {profanity} file.

Code

function profanity_filter_info() {
  $filters = array();
  $filters['profanity'] = array(
    'title' => t('Profanity'),
    'description' => t('Allows you to replace any occurances of profanity or specific words with either a character repeated to the same length as the original or a phrase.'),
    'process callback' => '_profanity_filter',
    'settings callback' => '_profanity_filter_settings',
    'default settings' => array(
      'lists' => array(),
    ),
  );
  return $filters;
}