comparison modules/contrib/migrate_tools/src/DrushLogMigrateMessage.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 /**
4 * @file
5 * Contains \Drupal\migrate_tools\DrushLogMigrateMessage.
6 */
7
8 namespace Drupal\migrate_tools;
9
10 use Drupal\migrate\MigrateMessageInterface;
11
12 class DrushLogMigrateMessage implements MigrateMessageInterface {
13
14 /**
15 * Output a message from the migration.
16 *
17 * @param string $message
18 * The message to display.
19 * @param string $type
20 * The type of message to display.
21 *
22 * @see drush_log()
23 */
24 public function display($message, $type = 'status') {
25 drush_log($message, $type);
26 }
27
28 }