You are here

function panopoly_demo_migrate_api in Panopoly Demo 7

Implements hook_migrate_api().

File

./panopoly_demo.module, line 41

Code

function panopoly_demo_migrate_api() {
  $api = array(
    'api' => 2,
    'groups' => array(
      'panopoly_demo' => array(
        'title' => t('Panopoly Demo Content'),
      ),
    ),
    'migrations' => array(
      'PanopolyDemoNode' => array(
        'class_name' => 'PanopolyDemoNode',
        'group_name' => 'panopoly_demo',
      ),
      'PanopolyDemoMenu' => array(
        'class_name' => 'PanopolyDemoMenu',
        'group_name' => 'panopoly_demo',
      ),
    ),
  );
  return $api;
}