You are here

function freelinking_menu in Freelinking 6

Same name and namespace in other branches
  1. 5 freelinking.module \freelinking_menu()
  2. 6.3 freelinking.module \freelinking_menu()
  3. 6.2 freelinking.module \freelinking_menu()
  4. 7.3 freelinking.module \freelinking_menu()

File

./freelinking.module, line 10

Code

function freelinking_menu() {
  $items['freelinking'] = array(
    'title' => 'Freelinks',
    'description' => 'A list of freelinks used on this site',
    'page callback' => 'freelinking_page',
    'access arguments' => array(
      'access freelinking list',
    ),
  );
  $items['admin/settings/freelinking'] = array(
    'title' => 'Freelinking settings',
    'description' => 'Configure wiki-style freelinking settings for node content',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'freelinking_settings',
    ),
    'access arguments' => array(
      'administer freelinking',
    ),
  );
  return $items;
}