function overlay_menu

Implements hook_menu().

File

modules/overlay/overlay.module, line 24

Code

function overlay_menu() {
    $items['overlay-ajax/%'] = array(
        'title' => '',
        'page callback' => 'overlay_ajax_render_region',
        'page arguments' => array(
            1,
        ),
        'access arguments' => array(
            'access overlay',
        ),
        'type' => MENU_CALLBACK,
    );
    $items['overlay/dismiss-message'] = array(
        'title' => '',
        'page callback' => 'overlay_user_dismiss_message',
        'access arguments' => array(
            'access overlay',
        ),
        'type' => MENU_CALLBACK,
    );
    return $items;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.