$message =
$result['@message'
] . ' (' .
$result['%file'
] . ':' .
$result['%line'
] . ')';
if ($save) { $this->
saveMessage($message);
} $this->message->
display($message, 'error'
);
} /**
* Checks for exceptional conditions, and display feedback.
*/
protected function checkStatus() { if ($this->
memoryExceeded()) { return MigrationInterface::RESULT_INCOMPLETE;
} return MigrationInterface::RESULT_COMPLETED;
} /**
* Tests whether we've exceeded the desired memory threshold.
*
* If so, output a message.
*
* @return bool
* TRUE if the threshold is exceeded, otherwise FALSE.
*/