You are here

function domain_registration_menu in Restrict Domain Registration 7

Implements hook_menu().

File

./domain_registration.module, line 13
Domain Registration module file.

Code

function domain_registration_menu() {
  $items['admin/config/system/domain_register'] = array(
    'title' => 'Domain registration',
    'description' => 'Set domains for registration',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'domain_registration_admin_form',
    ),
    'access arguments' => array(
      'administer domain registration',
    ),
  );
  return $items;
}