You are here

public function MandrillActivityUIController::hook_menu in Mandrill 7

Same name and namespace in other branches
  1. 7.2 modules/mandrill_activity/lib/mandrill_activity.ui_controller.inc \MandrillActivityUIController::hook_menu()

Override hook_menu() to add a proper description.

Overrides EntityDefaultUIController::hook_menu

File

modules/mandrill_activity/lib/mandrill_activity.ui_controller.inc, line 15
Class defining MandrillActivityUIController.

Class

MandrillActivityUIController
Override EntityDefaultUIController to customize our menu items.

Code

public function hook_menu() {
  $items = parent::hook_menu();
  $items[$this->path]['description'] = 'Manage Mandrill Activity entity settings.';
  $items[$this->path]['type'] = MENU_LOCAL_TASK;
  return $items;
}