public function MailChimpActivityUIController::hook_menu in Mailchimp 7.4
Same name and namespace in other branches
- 7.5 modules/mailchimp_activity/includes/mailchimp_activity.ui_controller.inc \MailChimpActivityUIController::hook_menu()
- 7.2 modules/mailchimp_activity/mailchimp_activity.ui_controller.inc \MailChimpActivityUIController::hook_menu()
- 7.3 modules/mailchimp_activity/includes/mailchimp_activity.ui_controller.inc \MailChimpActivityUIController::hook_menu()
Overrides parent::hook_menu().
Overrides EntityDefaultUIController::hook_menu
File
- modules/
mailchimp_activity/ includes/ mailchimp_activity.ui_controller.inc, line 16 - Class file for Mailchimp Activity UI Controller.
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;
$items[$this->path]['access callback'] = 'mailchimp_activity_entity_access';
$items[$this->path]['title'] = "Activity";
$items[$this->path]['weight'] = 10;
return $items;
}