Browse Source

Use ingest registry menu path

pull/120/head
Mitchell MacKenzie 13 years ago
parent
commit
22306a5760
  1. 2
      islandora_basic_collection/islandora_basic_collection.module

2
islandora_basic_collection/islandora_basic_collection.module

@ -69,7 +69,7 @@ function islandora_basic_collection_menu_local_tasks_alter(&$data, $router_item,
// Add action link // Add action link
if ($root_path == 'islandora/object/%/manage/collection') { if ($root_path == 'islandora/object/%/manage/collection') {
$object_id = $router_item['page_arguments'][0]; $object_id = $router_item['page_arguments'][0];
$item = menu_get_item("islandora/ingest_form/$object_id"); $item = menu_get_item("islandora/ingest/$object_id");
$item['title'] = 'Add a repository item'; $item['title'] = 'Add a repository item';
if ($item['access']) { if ($item['access']) {
$data['actions']['output'][] = array( $data['actions']['output'][] = array(

Loading…
Cancel
Save