public function Migration::saveQueuedMessages in Migrate 7.2
Save any messages we've queued up to the message table.
1 call to Migration::saveQueuedMessages()
- Migration::import in includes/
migration.inc - Perform an import operation - migrate items from source to destination.
File
- includes/
migration.inc, line 1672 - 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 saveQueuedMessages() {
foreach ($this->queuedMessages as $queued_message) {
$this
->saveMessage($queued_message['message'], $queued_message['level']);
}
$this->queuedMessages = array();
}