panopoly_news_demo.module in Panopoly News 7
File
panopoly_news_demo/panopoly_news_demo.module
View source
<?php
function panopoly_news_demo_migrate_api() {
$api = array(
'api' => 2,
'groups' => array(
'panopoly_news_demo' => array(
'title' => t('Panopoly News Demo Content'),
),
),
'migrations' => array(
'PanopolyNewsDemoNode' => array(
'class_name' => 'PanopolyNewsDemoNode',
'group_name' => 'panopoly_news_demo',
),
'PanopolyNewsDemoTerm' => array(
'class_name' => 'PanopolyNewsDemoTerm',
'group_name' => 'panopoly_news_demo',
),
),
);
return $api;
}