You are here

function noreferrer_menu in No Referrer 7

Implements hook_menu().

File

./noreferrer.module, line 11
No Referrer module.

Code

function noreferrer_menu() {
  $items['admin/config/content/noreferrer'] = array(
    'title' => 'Link types',
    'description' => 'Configure <code>rel="noopener"</code> and <code>rel="noreferrer"</code> link types.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'noreferrer_admin',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'noreferrer.admin.inc',
  );
  return $items;
}