You are here

public function SendinBlueSignupUIController::hook_menu in SendinBlue 7

Same name and namespace in other branches
  1. 7.2 includes/sendinblue_signup.ui_controller.inc \SendinBlueSignupUIController::hook_menu()

Overrides parent::hook_menu().

Overrides EntityDefaultUIController::hook_menu

File

includes/sendinblue_signup.ui_controller.inc, line 15
Class file for SendinBlue Signup UI Controller.

Class

SendinBlueSignupUIController
Override EntityDefaultUIController to customize our menu items.

Code

public function hook_menu() {
  $items = parent::hook_menu();
  $items[$this->path]['title'] = t('Signup Forms');
  $items[$this->path]['description'] = t('Manage SendinBlue Signup blocks and pages.');
  $items[$this->path]['type'] = MENU_LOCAL_TASK;
  $items[$this->path]['weight'] = 10;
  $items[$this->path]['access callback'] = 'sendinblue_signup_entity_access';
  return $items;
}