You are here

function eu_cookie_compliance_menu in EU Cookie Compliance (GDPR Compliance) 5

Same name and namespace in other branches
  1. 6 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[] = array(
    'path' => 'admin/settings/eu-cookie-compliance',
    'title' => 'EU Cookie Compliance',
    'callback' => 'drupal_get_form',
    'callback arguments' => array(
      'eu_cookie_compliance_admin_form',
    ),
    'access' => user_access('administer EU Cookie Compliance popup'),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}