public function MigrateMessageTest::display in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Kernel/MigrateMessageTest.php \Drupal\Tests\migrate\Kernel\MigrateMessageTest::display()
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
1 call to MigrateMessageTest::display()
- MigrateMessageTest::mapMessageRecorder in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateMessageTest.php - Reacts to map message event.
File
- core/
modules/ migrate/ tests/ src/ Kernel/ MigrateMessageTest.php, line 148
Class
- MigrateMessageTest
- Tests whether idmap messages are sent to message interface when requested.
Namespace
Drupal\Tests\migrate\KernelCode
public function display($message, $type = 'status') {
$this->messages[] = $message;
}