function MigrateMessageCapture::clear
Same name in other branches
- 9 core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php \Drupal\migrate_drupal_ui\Batch\MigrateMessageCapture::clear()
- 10 core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php \Drupal\migrate_drupal_ui\Batch\MigrateMessageCapture::clear()
- 11.x 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\BatchCode
public function clear() {
$this->messages = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.