You are here

public function MigrateMessageCapture::getMessages in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php \Drupal\migrate_drupal_ui\Batch\MigrateMessageCapture::getMessages()
  2. 9 core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php \Drupal\migrate_drupal_ui\Batch\MigrateMessageCapture::getMessages()

Returns any captured messages.

Return value

array The captured messages.

File

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

Class

MigrateMessageCapture
Allows capturing messages rather than displaying them directly.

Namespace

Drupal\migrate_drupal_ui\Batch

Code

public function getMessages() {
  return $this->messages;
}