You are here

public function MigrateMessageTest::display in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Tests/MigrateMessageTest.php \Drupal\migrate\Tests\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/src/Tests/MigrateMessageTest.php
Reacts to map message event.

File

core/modules/migrate/src/Tests/MigrateMessageTest.php, line 129
Contains \Drupal\migrate\Tests\MigrateMessageTest.

Class

MigrateMessageTest
Test whether idmap messages are sent to the message interface when requested.

Namespace

Drupal\migrate\Tests

Code

public function display($message, $type = 'status') {
  $this->messages[] = $message;
}