entity_translation.migrate.inc 355 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * @file
  4. * Implements a Migrate destination handler to automatically add translations
  5. * to entities with translatable fields.
  6. */
  7. /**
  8. * Implements hook_migrate_api().
  9. */
  10. function entity_translation_migrate_api() {
  11. $api = array(
  12. 'api' => 2,
  13. 'destination handlers' => array('MigrateTranslationEntityHandler'),
  14. );
  15. return $api;
  16. }