You are here

public function MigrateMessageCapture::clear in Drupal 9

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

Clears out any captured messages.

File

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

Class

MigrateMessageCapture
Allows capturing messages rather than displaying them directly.

Namespace

Drupal\migrate_drupal_ui\Batch

Code

public function clear() {
  $this->messages = [];
}