You are here

function spamspan_admin::menu in SpamSpan filter 7

Responds to hook_menu().

File

./spamspan_admin.php, line 129
This module implements the spamspan technique (http://www.spamspan.com ) for hiding email addresses from spambots.

Class

spamspan_admin

Code

function menu() {
  $items[$this->configuration_page] = array(
    'title' => 'Spamspan',
    'description' => 'Experiment with the Spamspan function.',
    'type' => MENU_LOCAL_TASK,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'spamspan_admin_page',
    ),
    'access arguments' => array(
      'administer filters',
    ),
  );
  return $items;
}