You are here

function modal_page_menu in Modal 7

Implements hook_menu().

File

./modal_page.module, line 131
Main file for the Modal Page.

Code

function modal_page_menu() {
  $items = array();
  $items['admin/config/user-interface/modal-page'] = array(
    'title' => 'Modal Page',
    'description' => 'Configuration for Modal Page module',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'modal_page_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}