You are here

function asset_menu_alter in Asset 7

Implements hook_menu_alter().

File

./asset.module, line 435
Asset module.

Code

function asset_menu_alter(&$menu) {

  // Make view page link viewable both as normal item and local task on "admin/content" page.
  if (isset($menu['admin/content/assets'])) {
    $menu['admin/content/assets']['type'] = MENU_LOCAL_TASK | MENU_NORMAL_ITEM;
  }
}