You are here

function spam_admin_filter_overview in Spam 5.3

Same name and namespace in other branches
  1. 6 spam.module \spam_admin_filter_overview()

Spam filter overview page. Allows enabling/disabling, ordering, and tuning of individual filters, on a per-content-type-group basis. This allows you to enable different filters for different content types.

1 string reference to 'spam_admin_filter_overview'
spam_menu in ./spam.module
Drupal _menu() hook.

File

./spam.module, line 636

Code

function spam_admin_filter_overview() {

  /**
   *  TODO: For phase one we will only have the default group.  A later
   *        development phase will allow the creation/configuration of custom
   *        content-type groups.  Content-types are defined through hooks, and
   *        include nodes (book, forum, etc), comments, users, profiles, etc...
   */

  // Install any new filters that may have become available.
  spam_init_filters();
  $output = drupal_get_form('spam_admin_filters');
  return $output;
}