You are here

public function MerciLineItemUIController::hook_menu in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Provides definitions for implementing hook_menu().

Overrides EntityBundleableUIController::hook_menu

File

merci_line_item/includes/entity.ui.inc, line 16

Class

MerciLineItemUIController
UI controller providing UI for content entities.

Code

public function hook_menu() {
  $items = parent::hook_menu();
  foreach (merci_line_item_types() as $type => $line_item_type) {

    // Convert underscores to hyphens for the menu item argument.
    //    $type_arg = strtr($type, '_', '-');
    //

    /*
          $items['admin/merci/merci_line_item_types/' . $type] = array(
     'title' => $line_item_type->name,
     'page callback' => 'merci_line_item_type_redirect',
     'page arguments' => array($type),
     'access arguments' => array('administer merci line item types'),
          );
    */
  }
  return $items;
}