You are here

function addtocopy_menu in Add link to copied text 7

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

Implements hook_menu().

File

./addtocopy.module, line 16

Code

function addtocopy_menu() {
  $items = array(
    'admin/config/user-interface/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;
}