You are here

public function MigrateIdMapInterface::saveMessage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::saveMessage()

Saves a message related to a source record in the migration message table.

Parameters

array $source_id_values: The source identifier keyed values of the record, e.g. ['nid' => 5].

string $message: The message to record.

int $level: Optional message severity (defaults to MESSAGE_ERROR).

1 method overrides MigrateIdMapInterface::saveMessage()
Sql::saveMessage in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Saves a message related to a source record in the migration message table.

File

core/modules/migrate/src/Plugin/MigrateIdMapInterface.php, line 66
Contains \Drupal\migrate\Plugin\MigrateIdMapInterface.

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

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