You are here

public function MailChimpActivityUIController::hook_menu in Mailchimp 7.2

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_activity/includes/mailchimp_activity.ui_controller.inc \MailChimpActivityUIController::hook_menu()
  2. 7.3 modules/mailchimp_activity/includes/mailchimp_activity.ui_controller.inc \MailChimpActivityUIController::hook_menu()
  3. 7.4 modules/mailchimp_activity/includes/mailchimp_activity.ui_controller.inc \MailChimpActivityUIController::hook_menu()

Provides definitions for implementing hook_menu().

Overrides EntityDefaultUIController::hook_menu

File

modules/mailchimp_activity/mailchimp_activity.ui_controller.inc, line 8

Class

MailChimpActivityUIController
Override EntityDefaultUIController to customize our menu items.

Code

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