function MigrateExecutableInterface::saveMessage

Same name in other branches
  1. 8.9.x core/modules/migrate/src/MigrateExecutableInterface.php \Drupal\migrate\MigrateExecutableInterface::saveMessage()
  2. 10 core/modules/migrate/src/MigrateExecutableInterface.php \Drupal\migrate\MigrateExecutableInterface::saveMessage()
  3. 11.x core/modules/migrate/src/MigrateExecutableInterface.php \Drupal\migrate\MigrateExecutableInterface::saveMessage()

Passes messages through to the map class.

Parameters

string $message: The message to record.

int $level: (optional) Message severity (defaults to MESSAGE_ERROR).

1 method overrides MigrateExecutableInterface::saveMessage()
MigrateExecutable::saveMessage in core/modules/migrate/src/MigrateExecutable.php
Passes messages through to the map class.

File

core/modules/migrate/src/MigrateExecutableInterface.php, line 54

Class

MigrateExecutableInterface

Namespace

Drupal\migrate

Code

public function saveMessage($message, $level = MigrationInterface::MESSAGE_ERROR);

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