You are here

class DrushLogMigrateMessage in Migrate Tools 8

Same name and namespace in other branches
  1. 8.5 src/DrushLogMigrateMessage.php \Drupal\migrate_tools\DrushLogMigrateMessage
  2. 8.2 src/DrushLogMigrateMessage.php \Drupal\migrate_tools\DrushLogMigrateMessage
  3. 8.3 src/DrushLogMigrateMessage.php \Drupal\migrate_tools\DrushLogMigrateMessage
  4. 8.4 src/DrushLogMigrateMessage.php \Drupal\migrate_tools\DrushLogMigrateMessage

Hierarchy

Expanded class hierarchy of DrushLogMigrateMessage

1 file declares its use of DrushLogMigrateMessage
migrate_tools.drush.inc in ./migrate_tools.drush.inc
Command-line tools to aid performing and developing migrations.

File

src/DrushLogMigrateMessage.php, line 12
Contains \Drupal\migrate_tools\DrushLogMigrateMessage.

Namespace

Drupal\migrate_tools
View source
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);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DrushLogMigrateMessage::display public function Output a message from the migration. Overrides MigrateMessageInterface::display