You are here

function cookie_banner_menu in Cookie_Banner 7

Implements hook_menu().

File

./cookie_banner.module, line 11
Main module file.

Code

function cookie_banner_menu() {
  $items['admin/config/system/cookie-banner'] = array(
    'title' => 'Cookie Banner',
    'description' => 'Comply with the EU Directive on Privacy and Electronic Communications.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'cookie_banner_admin_form',
    ),
    'access arguments' => array(
      'administer cookie banner',
    ),
    'file' => 'cookie_banner.admin.inc',
  );
  return $items;
}