You are here

availability_calendar_migrate.module in Availability Calendars 7.5

File

examples/availability_calendar_migrate/availability_calendar_migrate.module
View source
<?php

/**
 * @file
 * Code for the Availability Calendars Migration Example feature.
 */
include_once 'availability_calendar_migrate.features.inc';

/**
 * Implements hook_migrate_api().
 */
function availability_calendar_migrate_migrate_api() {
  $api = array(
    'api' => 2,
    'migrations' => array(
      'ExampleAvailabilityCalendar' => array(
        'class_name' => 'MigrateExampleAvailabilityCalendar',
      ),
    ),
  );
  return $api;
}