function EventBase::logMessage

Logs a message using the Migrate message service.

Parameters

string $message: The message to log.

string $type: The type of message, for example: status or warning.

File

core/modules/migrate/src/Event/EventBase.php, line 56

Class

EventBase

Namespace

Drupal\migrate\Event

Code

public function logMessage($message, $type = 'status') {
  $this->message
    ->display($message, $type);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.