You are here

function cami_menu in Custom Active Menu Item 7

Implements hook_menu().

File

./cami.module, line 11
Allows to specify which menu item is active and the classes that will be added to it.

Code

function cami_menu() {
  $items['admin/config/user-interface/custom-active-menu-item'] = array(
    'title' => 'Custom Active Menu Item',
    'description' => 'Configure Custom Active Menu Item',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'cami_settings_form',
    ),
    'access arguments' => array(
      'administer cami',
    ),
  );
  return $items;
}