You are here

public function StubMigrationMessage::display in Migrate source UI 8

Output a message from the migration.

Parameters

string $message: The message to display.

string $type: The type of message to display.

Overrides MigrateMessageInterface::display

See also

drupal_set_message()

File

src/StubMigrationMessage.php, line 24

Class

StubMigrationMessage
A stub migrate message.

Namespace

Drupal\migrate_source_ui

Code

public function display($message, $type = 'status') {
  $this
    ->messenger()
    ->addMessage($message, $type);
}