You are here

function drd_server_menu in Drupal Remote Dashboard Server 7

Same name and namespace in other branches
  1. 6.2 drd_server.module \drd_server_menu()
  2. 7.2 drd_server.module \drd_server_menu()

Implements hook_menu().

File

./drd_server.module, line 236

Code

function drd_server_menu() {
  $items['admin/drd_server/flush/cache'] = array(
    'title' => 'Flush Cache',
    'page callback' => 'drd_server_admin_flush_cache',
    'access arguments' => array(
      'flush cache',
    ),
    'file' => 'drd_server.admin.inc',
    'type' => MENU_CALLBACK,
  );
  $items['admin/drd_server/update/translation'] = array(
    'title' => 'Update translation',
    'page callback' => 'drd_server_admin_update_translation',
    'access arguments' => array(
      'translate interface',
    ),
    'file' => 'drd_server.admin.inc',
    'type' => MENU_CALLBACK,
  );
  return $items;
}