added term field restoration batch script

This commit is contained in:
Bachir Soussi Chiadmi
2016-12-12 11:24:20 +01:00
parent c56a523286
commit d1b069ad8b
5 changed files with 298 additions and 29 deletions
@@ -449,22 +449,14 @@ function materio_showroom_menu_local_tasks_alter(&$data, $router_item, $root_pat
*/
function materio_showroom_menu() {
$items['admin/config/content/materio_showroom'] = array(
$items['admin/config/content/materio/migrate_showroom'] = array(
'title' => 'Showrooms location fields migration settings',
'page callback' => 'drupal_get_form',
'page arguments' => array('materio_showroom_migrate_location_fields_settings_form'),
'access arguments' => array('materio showroom migrate fields'),
'type' => MENU_LOCAL_ACTION,
'type' => MENU_LOCAL_TASK,
// 'file' => ,
);
// $items['admin/config/content/materio_showroom/migrate'] = array(
// 'title' => 'Migrate showrooms location fields',
// 'page callback' => 'materio_showroom_migrate_location_fields',
// // 'page arguments' => array('materio_showroom_migrate_location_fields'),
// 'access arguments' => array('materio showroom migrate fields'),
// 'type' => MENU_LOCAL_TASK,
// // 'file' => ,
// );
return $items;
}