You are here

function fb_social_presets_ui::hook_menu in Facebook social plugins integration 6.2

Same name and namespace in other branches
  1. 7.2 plugins/export_ui/fb_social_presets_ui.class.php \fb_social_presets_ui::hook_menu()

hook_menu() entry point.

Child implementations that need to add or modify menu items should probably call parent::hook_menu($items) and then modify as needed.

Overrides ctools_export_ui::hook_menu

File

plugins/export_ui/fb_social_presets_ui.class.php, line 5

Class

fb_social_presets_ui

Code

function hook_menu(&$items) {

  // Change the item to a tab on the fb_social configuration page.
  $this->plugin['menu']['items']['list callback']['type'] = MENU_LOCAL_TASK;
  $this->plugin['menu']['items']['list callback']['weight'] = 10;
  parent::hook_menu($items);
}