You are here

function cookie_content_blocker_menu in Cookie Content Blocker 7

Implements hook_menu().

File

./cookie_content_blocker.module, line 23
Contains the main module code for Cookie content blocker.

Code

function cookie_content_blocker_menu() {
  $items = array();
  $items['admin/config/system/cookie_content_blocker'] = array(
    'title' => 'Cookie content blocker',
    'description' => 'Manage all settings related to Cookie content blocker.',
    'access arguments' => array(
      'administer cookie content blocker',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'cookie_content_blocker_settings_form',
    ),
    'file' => 'cookie_content_blocker.admin.inc',
  );
  return $items;
}