Drupal 8  8.0.2
MigrateMessageTest Class Reference
Inheritance diagram for MigrateMessageTest:

Public Member Functions

 testMessagesNotTeed ()
 testMessagesTeed ()
 mapMessageRecorder (MigrateIdMapMessageEvent $event, $name)
 display ($message, $type= 'status')

Static Public Attributes

static $modules = ['migrate', 'system']

Protected Member Functions

 setUp ()

Protected Attributes

 $messages = []

Detailed Description

Tests whether idmap messages are sent to message interface when requested.


Member Function Documentation

display (   $message,
  $type = 'status' 

{Displays a migrate message.

string$messageThe message to display.
string$typeThe type of message, for example: status or warning.

Implements MigrateMessageInterface.

Referenced by MigrateMessageTest\mapMessageRecorder().

Here is the caller graph for this function:

mapMessageRecorder ( MigrateIdMapMessageEvent  $event,

Reacts to map message event.

\Drupal\Migrate\Event\MigrateIdMapMessageEvent$eventThe migration event.
string$nameThe event name.

References MigrateMessageTest\display(), MigrateIdMapMessageEvent\getLevel(), MigrateIdMapMessageEvent\getMessage(), MigrateIdMapMessageEvent\getSourceIdValues(), MigrationInterface\MESSAGE_INFORMATIONAL, and MigrationInterface\MESSAGE_NOTICE.

Here is the call graph for this function:

setUp ( )


References Entity\create().

Here is the call graph for this function:

testMessagesNotTeed ( )

Tests migration interruptions.

testMessagesTeed ( )

Tests migration interruptions.

References Drupal\service().

Here is the call graph for this function:

The documentation for this class was generated from the following file: