You are here

function pmpapi_update_menu in Public Media Platform API Integration 7

Implements hook_menu().

File

pmpapi_update/pmpapi_update.module, line 28

Code

function pmpapi_update_menu() {
  $items['admin/config/services/pmp/updates'] = array(
    'title' => 'Updates',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'pmpapi_update_config_form',
    ),
    'access callback' => TRUE,
    'file' => 'pmpapi_update.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  $items['pmpapi_notifications'] = array(
    'page callback' => 'pmpapi_update_process_notification',
    'access arguments' => array(
      'access content',
    ),
    'file' => 'pmpapi_update.pages.inc',
    'type' => MENU_CALLBACK,
  );
  return $items;
}