You are here

DrushLogMigrateMessage.php in Migrate Upgrade 8

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

File

src/DrushLogMigrateMessage.php
View source
<?php

/**
 * @file
 * Contains \Drupal\migrate_upgrade\DrushLogMigrateMessage.
 */
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