function EventBase::logMessage
Same name in other branches
- 9 core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::logMessage()
- 8.9.x core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::logMessage()
- 11.x core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\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
Namespace
Drupal\migrate\EventCode
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.