You are here

function it_cookie_compliance_menu in IT Cookie Compliance 7

Implements hook_menu().

File

./it_cookie_compliance.module, line 53
IT Cookie Compliance module main file.

Code

function it_cookie_compliance_menu() {
  $items = array();
  $items['admin/config/system/it_cookie_compliance'] = array(
    'title' => 'IT Cookie Compliance',
    'description' => 'Define the javascripts and blocks to be preemptively blocked when the cookies have not been yet accepted.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'it_cookie_compliance_admin_settings',
    ),
    'access arguments' => array(
      'administer preemptive cookie block',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'it_cookie_compliance.admin.inc',
  );
  return $items;
}