migrate_example.module 588 B

1234567891011121314
  1. <?php
  2. /**
  3. * @file
  4. * THIS SPACE INTENTIONALLY LEFT BLANK.
  5. *
  6. * Yes, there is no code in the .module file. Migrate operates almost entirely
  7. * through classes, and by adding any files containing class definitions to the
  8. * .info file, those files are automatically included only when the classes they
  9. * contain are referenced. The one non-class piece you need to implement is
  10. * hook_migrate_api(), but because .migrate.inc is registered using hook_hook_info
  11. * by defining your implementation of that hook in mymodule.migrate.inc, it is
  12. * automatically invoked only when needed.
  13. */