public function DrushLogMigrateMessage::__construct in Migrate Manifest 3.x
Same name and namespace in other branches
- 8.2 src/DrushLogMigrateMessage.php \Drupal\migrate_manifest\DrushLogMigrateMessage::__construct()
- 8 src/DrushLogMigrateMessage.php \Drupal\migrate_manifest\DrushLogMigrateMessage::__construct()
File
- src/
DrushLogMigrateMessage.php, line 21
Class
- DrushLogMigrateMessage
- Simple Migrate Message implementation that uses drush to output.
Namespace
Drupal\migrate_manifestCode
public function __construct(LoggerInterface $logger = NULL) {
if (!isset($logger)) {
$logger = Drush::logger();
}
$this->logger = $logger;
}