function simple_cookie_compliance_menu in Simple Cookie Compliance 7
Same name and namespace in other branches
- 6 simple_cookie_compliance.module \simple_cookie_compliance_menu()
Implements hook_menu().
File
- ./
simple_cookie_compliance.module, line 10 - All the necessary functions for configuring and output.
Code
function simple_cookie_compliance_menu() {
$items = array();
$items['admin/config/system/simple-cookie-compliance'] = array(
'title' => 'Cookie Compliance Settings',
'description' => 'Settings for the cookie compliance window that is used.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'_simple_cookie_compliance_settings_form',
),
'access arguments' => array(
'administer cookie compliance',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}