View source
<?php
function migrate_example_migrate_api() {
$api = array(
'api' => 2,
'migrations' => array(
'BeerTerm' => array(
'class_name' => 'BeerTermMigration',
),
'BeerUser' => array(
'class_name' => 'BeerUserMigration',
),
'BeerNode' => array(
'class_name' => 'BeerNodeMigration',
),
'BeerComment' => array(
'class_name' => 'BeerCommentMigration',
),
'WinePrep' => array(
'class_name' => 'WinePrepMigration',
),
'WineVariety' => array(
'class_name' => 'WineVarietyMigration',
),
'WineRegion' => array(
'class_name' => 'WineRegionMigration',
),
'WineBestWith' => array(
'class_name' => 'WineBestWithMigration',
),
'WineRole' => array(
'class_name' => 'WineRoleMigration',
),
'WineUser' => array(
'class_name' => 'WineUserMigration',
),
'WineProducer' => array(
'class_name' => 'WineProducerMigration',
),
'WineProducerXML' => array(
'class_name' => 'WineProducerXMLMigration',
),
'WineProducerMultiXML' => array(
'class_name' => 'WineProducerMultiXMLMigration',
),
'WineProducerXMLPull' => array(
'class_name' => 'WineProducerXMLPullMigration',
),
'WineWine' => array(
'class_name' => 'WineWineMigration',
),
'WineComment' => array(
'class_name' => 'WineCommentMigration',
),
'WineTable' => array(
'class_name' => 'WineTableMigration',
),
'WineFinish' => array(
'class_name' => 'WineFinishMigration',
),
'WineUpdates' => array(
'class_name' => 'WineUpdatesMigration',
),
'WineCommentUpdates' => array(
'class_name' => 'WineCommentUpdatesMigration',
),
'WineVarietyUpdates' => array(
'class_name' => 'WineVarietyUpdatesMigration',
),
'WineUserUpdates' => array(
'class_name' => 'WineUserUpdatesMigration',
),
),
);
return $api;
}