You are here

public function sweaver_plugin_kb::sweaver_menu in Sweaver 7

Same name and namespace in other branches
  1. 6 plugins/sweaver_plugin_kb/sweaver_plugin_kb.inc \sweaver_plugin_kb::sweaver_menu()

Menu registry.

Overrides sweaver_plugin::sweaver_menu

File

plugins/sweaver_plugin_kb/sweaver_plugin_kb.inc, line 22
Key bindings plugin.

Class

sweaver_plugin_kb
@file Key bindings plugin.

Code

public function sweaver_menu(&$weight, $page_arguments, $base) {
  $items = array();
  $items['admin/config/user-interface/sweaver/kb'] = $base + array(
    'title' => 'Keyboard',
    'page arguments' => array(
      $page_arguments,
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => $weight++,
  );
  return $items;
}