You are here

function eu_cookie_compliance_menu in EU Cookie Compliance (GDPR Compliance) 6

Same name and namespace in other branches
  1. 5 eu_cookie_compliance.module \eu_cookie_compliance_menu()
  2. 7.2 eu_cookie_compliance.module \eu_cookie_compliance_menu()
  3. 7 eu_cookie_compliance.module \eu_cookie_compliance_menu()

Implements hook_menu().

File

./eu_cookie_compliance.module, line 13
This module intends to deal with the EU Directive on Privacy and Electronic Communications that comes into effect in the UK on 26th May 2012.

Code

function eu_cookie_compliance_menu() {
  $items['admin/settings/eu-cookie-compliance'] = array(
    'title' => 'EU Cookie Compliance',
    'description' => 'Make your website compliant with the EU Directive on Privacy and Electronic Communications.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'eu_cookie_compliance_admin_form',
    ),
    'access arguments' => array(
      'administer EU Cookie Compliance popup',
    ),
    'file' => 'eu_cookie_compliance.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}