class StubMigrationMessage in Migrate source UI 8
A stub migrate message.
Hierarchy
- class \Drupal\migrate_source_ui\StubMigrationMessage implements MigrateMessageInterface uses MessengerTrait
Expanded class hierarchy of StubMigrationMessage
1 file declares its use of StubMigrationMessage
- MigrateSourceUiForm.php in src/
Form/ MigrateSourceUiForm.php
File
- src/
StubMigrationMessage.php, line 11
Namespace
Drupal\migrate_source_uiView source
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);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MessengerTrait:: |
protected | property | The messenger. | 29 |
MessengerTrait:: |
public | function | Gets the messenger. | 29 |
MessengerTrait:: |
public | function | Sets the messenger. | |
StubMigrationMessage:: |
public | function |
Output a message from the migration. Overrides MigrateMessageInterface:: |