public function MigrateMessageCapture::display in Migrate Upgrade 8
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 27 - Contains \Drupal\migrate_upgrade\MigrateMessageCapture.
Class
- MigrateMessageCapture
- Allows capturing messages rather than displaying them directly.
Namespace
Drupal\migrate_upgradeCode
public function display($message, $type = 'status') {
$this->messages[] = $message;
}