You are here

function cleantalk_menu in Anti Spam by CleanTalk 8

Same name and namespace in other branches
  1. 7.5 cleantalk.module \cleantalk_menu()
  2. 7 cleantalk.module \cleantalk_menu()
  3. 7.2 cleantalk.module \cleantalk_menu()
  4. 7.4 cleantalk.module \cleantalk_menu()

Implements hook_menu().

File

./cleantalk.module, line 576
Main CleanTalk integration module functions.

Code

function cleantalk_menu() {
  $items['admin/config/cleantalk'] = array(
    'title' => 'Antispam by CleanTalk',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'cleantalk_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'cleantalk.admin.inc',
  );
  return $items;
}