function MigrateMessageCapture::display

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php \Drupal\migrate_drupal_ui\Batch\MigrateMessageCapture::display()
  2. 10 core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php \Drupal\migrate_drupal_ui\Batch\MigrateMessageCapture::display()
  3. 11.x core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php \Drupal\migrate_drupal_ui\Batch\MigrateMessageCapture::display()

Overrides MigrateMessageInterface::display

File

core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php, line 22

Class

MigrateMessageCapture
Allows capturing messages rather than displaying them directly.

Namespace

Drupal\migrate_drupal_ui\Batch

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.