You are here

DrushLogMigrateMessage.php in Migrate Upgrade 8.2

Same filename and directory in other branches
  1. 8.3 src/DrushLogMigrateMessage.php
  2. 8 src/DrushLogMigrateMessage.php

File

src/DrushLogMigrateMessage.php
View source
<?php

namespace Drupal\migrate_upgrade;

use Drupal\migrate\MigrateMessageInterface;
class DrushLogMigrateMessage implements MigrateMessageInterface {

  /**
   * Output a message from the migration.
   *
   * @param string $message
   *   The message to display.
   * @param string $type
   *   The type of message to display.
   *
   * @see drush_log()
   */
  public function display($message, $type = 'status') {
    drush_log($message, $type);
  }

}

Classes