You are here

abstract public function MigrateMap::saveMessage in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 includes/map.inc \MigrateMap::saveMessage()

Record a message related to a source record

Parameters

array $source_key: Source ID of the record in error

string $message: The message to record.

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

1 method overrides MigrateMap::saveMessage()
MigrateSQLMap::saveMessage in plugins/sources/sqlmap.inc
Record a message in the migration's message table.

File

includes/map.inc, line 101
Defines the framework for map and message handling.

Class

MigrateMap
We implement the Iterator interface to support iteration over the map table for the purpose of rollback.

Code

public abstract function saveMessage($source_key, $message, $level = MigrationBase::MESSAGE_ERROR);