migrate.api.php 778 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * @file
  4. * Documentation for hooks defined by Migrate.
  5. */
  6. /**
  7. * Registers your module as an implementor of Migrate-based classes.
  8. */
  9. function hook_migrate_api() {
  10. $api = array(
  11. 'api' => 2,
  12. );
  13. return $api;
  14. }
  15. /**
  16. * Provides text to be displayed at the top of the dashboard page (migrate_ui).
  17. */
  18. function hook_migrate_overview() {
  19. return t('<p>Listed below are all the migration processes defined for migration
  20. of our old site to Drupal. Open issues applying to specific migrations
  21. can be viewed by clicking the migration name. Also, details on how each
  22. migration will behave when incrementally migrated are provided.</p>
  23. <p><a href="http://issuetracker.example.com/?project=migration&status=open">Open migration tickets</a></p>');
  24. }