function cookiepro_menu in CookiePro by OneTrust 7
Implements hook_menu().
File
- ./
cookiepro.module, line 11 - Enables Drupal to add CookiePro headers on site.
Code
function cookiepro_menu() {
$items['admin/config/development/cookiepro'] = array(
'title' => 'CookiePro by OneTrust',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cookiepro_header_settings',
),
'access arguments' => array(
'administer cookiepro module',
),
'description' => 'Simplify Compliance with GDPR & ePrivacy Cookie Laws.',
'file' => 'cookiepro.admin.inc',
'weight' => 10,
);
$items['admin/config/development/cookiepro/header'] = array(
'title' => 'CookiePro',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cookiepro_header_settings',
),
'access arguments' => array(
'administer cookiepro module',
),
'description' => 'Simplify Compliance with GDPR & ePrivacy Cookie Laws.',
'file' => 'cookiepro.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 20,
);
return $items;
}