public function Migration::saveMessage in Migrate 6.2
Same name and namespace in other branches
- 7.2 includes/migration.inc \Migration::saveMessage()
Pass messages through to the map class
Parameters
string $message: The message to record.
int $level: Optional message severity (defaults to MESSAGE_ERROR).
Overrides MigrationBase::saveMessage
1 call to Migration::saveMessage()
- Migration::import in includes/
migration.inc - Perform an import operation - migrate items from source to destination.
File
- includes/
migration.inc, line 1312 - Defines the base class for import/rollback processes.
Class
- Migration
- The base class for all import objects. This is where most of the smarts of the migrate module resides. Migrations are created by deriving from this class, and in the constructor (after calling parent::__construct()) initializing at a minimum the name,…
Code
public function saveMessage($message, $level = MigrationBase::MESSAGE_ERROR) {
$this->map
->saveMessage($this->currentSourceKey, $message, $level);
}