You are here

function spam_spam in Spam 5

File

./spam.module, line 1060

Code

function spam_spam($name, $arg1, $arg2, $arg3) {

  // Do stuff based on the hook type (name).
  switch ($name) {
    case 'tab_description':
      $tabs = array();
      $tabs['Filters'] = t('Select content type filters for the spam module.');
      $tabs['Limits'] = t('Set filtering limits for the spam module.');
      $tabs['Actions'] = t('Select actions for the spam module.');
      $tabs['Advanced'] = t('Set advanced option for the spam module.');
      $tabs['Custom Filters'] = t('Define specific rules for identifying spam.');
      $tabs['URL Filters'] = t('List specific URLs that will be identified as spam.');
      return $tabs;
    default:
      return array();
  }
}