Duplicate taxonomy term view pages in the /admin/farm/crops/% path.

This commit is contained in:
Michael Stenta 2014-07-09 01:50:15 -04:00
parent 3b64f24c09
commit 85b852b43c
1 changed files with 12 additions and 0 deletions

View File

@ -5,3 +5,15 @@
*/
include_once 'farm_crop.features.inc';
/**
* Implements hook_menu_alter().
*/
function farm_crop_menu_alter(&$items) {
// Duplicate taxonomy term view pages in the /admin/farm/crops/% path.
$items['admin/farm/crops/%taxonomy_term'] = $items['taxonomy/term/%taxonomy_term'];
$items['admin/farm/crops/%taxonomy_term/view'] = $items['taxonomy/term/%taxonomy_term/view'];
$items['admin/farm/crops/%taxonomy_term']['title arguments'] = array(3);
$items['admin/farm/crops/%taxonomy_term']['page arguments'] = array(3);
}