You are here

public function MigrateMessageCapture::clear in Migrate Upgrade 8

Clears out any captured messages.

File

src/MigrateMessageCapture.php, line 34
Contains \Drupal\migrate_upgrade\MigrateMessageCapture.

Class

MigrateMessageCapture
Allows capturing messages rather than displaying them directly.

Namespace

Drupal\migrate_upgrade

Code

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