public function EventBase::logMessage in Drupal 9
Same name and namespace in other branches
- 8 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);
}