public function MandrillTemplateMapUIController::hook_menu in Mandrill 7
Same name and namespace in other branches
- 7.2 modules/mandrill_template/lib/mandrill_template_map.ui_controller.inc \MandrillTemplateMapUIController::hook_menu()
Overrides EntityDefaultUIController::hook_menu().
Overrides EntityDefaultUIController::hook_menu
File
- modules/
mandrill_template/ lib/ mandrill_template_map.ui_controller.inc, line 15 - The UI controller for the template map entity.
Class
- MandrillTemplateMapUIController
- Override EntityDefaultUIController to customize our menu items.
Code
public function hook_menu() {
$items = parent::hook_menu();
$items[$this->path]['description'] = 'Manage Mandrill Template Mapping entity settings.';
$items[$this->path]['type'] = MENU_LOCAL_TASK;
return $items;
}