public function EntityReferenceRevisionsDestinationTest::display in Entity Reference Revisions 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
- tests/
src/ Kernel/ Plugin/ migrate/ destination/ EntityReferenceRevisionsDestinationTest.php, line 646
Class
- EntityReferenceRevisionsDestinationTest
- Tests the migration destination plugin.
Namespace
Drupal\Tests\entity_reference_revisions\Kernel\Plugin\migrate\destinationCode
public function display($message, $type = 'status') {
$this
->assertTrue($type == 'status', $message);
}