You are here

panopoly_news_demo.module in Panopoly News 7

File

panopoly_news_demo/panopoly_news_demo.module
View source
<?php

/**
 * @file
 * panopoly_news_demo.module
 */

/**
 * Implements hook_migrate_api().
 */
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;
}

Functions