You are here

protected function MigrateHelper::getMessageObject in Panopoly 8.2

Gets the migrate message object.

Return value

\Drupal\migrate\MigrateMessageInterface The migrate message object.

1 call to MigrateHelper::getMessageObject()
MigrateHelper::createExecutable in modules/panopoly/panopoly_core/src/MigrateHelper.php
Create a new migrate executable.

File

modules/panopoly/panopoly_core/src/MigrateHelper.php, line 45

Class

MigrateHelper
Service with some helper functions for working with migrate.

Namespace

Drupal\panopoly_core

Code

protected function getMessageObject() {
  if (!$this->migrateMessage) {
    $this->migrateMessage = new MigrateMessage();
  }
  return $this->migrateMessage;
}