DrushLogMigrateMessage.php

Contains Drush\Migrate\DrushLogMigrateMessage.

Namespace

Drush\Migrate

Classes

File

lib/Drush/Migrate/DrushLogMigrateMessage.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Contains Drush\Migrate\DrushLogMigrateMessage.
  5. */
  6. namespace Drush\Migrate;
  7. use Drupal\migrate\MigrateMessageInterface;
  8. class DrushLogMigrateMessage implements MigrateMessageInterface {
  9. /**
  10. * Output a message from the migration.
  11. *
  12. * @param string $message
  13. * The message to display.
  14. * @param string $type
  15. * The type of message to display.
  16. *
  17. * @see drush_log()
  18. */
  19. public function display($message, $type = 'status') {
  20. drush_log($message, $type);
  21. }
  22. }