public function MigrateMessageCapture::display in GatherContent 8.5
Displays a migrate message.
Parameters
string $message: The message to display.
string $type: The type of message, for example: status or warning.
Overrides MigrateMessageInterface::display
File
- src/
MigrateMessageCapture.php, line 22
Class
- MigrateMessageCapture
- Allows capturing messages rather than displaying them directly.
Namespace
Drupal\gathercontentCode
public function display($message, $type = 'status') {
$this->messages[] = $message;
}