123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- /**
- * @file
- * This is the file description for PerfMigration module.
- *
- * In this more verbose, multi-line description, you can specify what this
- * file does exactly. Make sure to wrap your documentation in column 78 so
- * that the file can be displayed nicely in default-sized consoles.
- */
- /**
- * Implements hook_menu().
- */
- // function PerfMigrate_menu() {
- // $items = array();
- //
- // // Type '$item ⇥' to create a new menu item.
- //
- // return $items;
- // }
- /**
- * You must implement hook_migrate_api(), setting the API level to 2, for
- * your migration classes to be recognized by the Migrate module (for the 7.x-2.x branch).
- */
- function PerfMigrate_migrate_api() {
- $api = array(
- 'api' => 2,
- 'migrations' => array(
- 'PerfPerformanceNode' => array('class_name' => 'PerfPerformanceNodeMigration'),
- 'PerfGroupeNode' => array('class_name' => 'PerfGroupeNodeMigration'),
- 'PerfLDCNode' => array('class_name' => 'PerfLDCNodeMigration'),
- 'PerfDimpNode' => array('class_name' => 'PerfDimpNodeMigration'),
- 'PerfDmanuNode' => array('class_name' => 'PerfDmanuNodeMigration'),
- 'PerfDpressNode' => array('class_name' => 'PerfDpressNodeMigration'),
- 'PerfDsonsNode' => array('class_name' => 'PerfDsonsNodeMigration'),
- 'PerfDvidsNode' => array('class_name' => 'PerfDvidsNodeMigration'),
- 'PerfObjetNode' => array('class_name' => 'PerfObjetNodeMigration'),
- // updates
- 'PerfPerformanceUpdateNode' => array('class_name' => 'PerfPerformanceUpdateNodeMigration'),
- 'PerfGroupeNodeUpdate' => array('class_name' => 'PerfGroupeNodeUpdateMigration'),
- 'PerfLDCNodeUpdate' => array('class_name' => 'PerfLDCNodeUpdateMigration'),
- 'PerfDimpNodeUpdate' => array('class_name' => 'PerfDimpNodeUpdateMigration'),
- 'PerfDmanuNodeUpdate' => array('class_name' => 'PerfDmanuNodeUpdateMigration'),
- 'PerfDpressNodeUpdate' => array('class_name' => 'PerfDpressNodeUpdateMigration'),
- 'PerfObjetNodeUpdate' => array('class_name' => 'PerfObjetNodeUpdateMigration'),
- )
- );
- return $api;
- }
|