StubMigrationMessage.php in Migrate source UI 8
Namespace
Drupal\migrate_source_uiFile
src/StubMigrationMessage.phpView source
<?php
namespace Drupal\migrate_source_ui;
use Drupal\Core\Messenger\MessengerTrait;
use Drupal\migrate\MigrateMessageInterface;
/**
* A stub migrate message.
*/
class StubMigrationMessage implements MigrateMessageInterface {
use MessengerTrait;
/**
* Output a message from the migration.
*
* @param string $message
* The message to display.
* @param string $type
* The type of message to display.
*
* @see drupal_set_message()
*/
public function display($message, $type = 'status') {
$this
->messenger()
->addMessage($message, $type);
}
}
Classes
Name | Description |
---|---|
StubMigrationMessage | A stub migrate message. |