Version 1
[yaffs-website] / web / modules / contrib / migrate_tools / src / DrushLogMigrateMessage.php
1 <?php
2
3 namespace Drupal\migrate_tools;
4
5 use Drupal\migrate\MigrateMessageInterface;
6
7 class DrushLogMigrateMessage implements MigrateMessageInterface {
8
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
23 }