You are here

function n1ed_menu in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

Implementation of hook_menu

File

./n1ed.module, line 14

Code

function n1ed_menu() {
  $items = [];
  $items['admin/config/content/n1ed'] = [
    'title' => 'N1ED configuration',
    'description' => 'N1ED settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => [
      'n1ed_admin_form',
    ],
    'access arguments' => [
      'administer users',
    ],
    'type' => MENU_NORMAL_ITEM,
  ];
  $items['admin/config/content/n1ed/setApiKey'] = [
    'title' => 'setApikey',
    'page callback' => 'n1ed_setApiKey',
    'access arguments' => [
      'administer users',
    ],
  ];
  $items['admin/config/content/n1ed/flmngr'] = [
    'title' => 'FM',
    'page callback' => 'n1ed_flmngr',
    'access arguments' => [
      'administer users',
    ],
  ];
  return $items;
}