You are here

function addtocopy_menu in Add link to copied text 6

Same name and namespace in other branches
  1. 7 addtocopy.module \addtocopy_menu()

Implements hook_menu().

File

./addtocopy.module, line 12

Code

function addtocopy_menu() {
  $items = array(
    'admin/settings/addtocopy' => array(
      'title' => 'Add to Copy',
      'description' => 'Configure Add to Copy settings.',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'addtocopy_settings_form',
      ),
      'access callback' => 'user_access',
      'access arguments' => array(
        'administer site configuration',
      ),
      'file' => 'addtocopy.admin.inc',
      'type' => MENU_NORMAL_ITEM,
    ),
  );
  return $items;
}