You are here

public function MigrationDrushCommandProgress::updateProgressBar in Migrate Tools 8.4

Same name and namespace in other branches
  1. 8.5 src/EventSubscriber/MigrationDrushCommandProgress.php \Drupal\migrate_tools\EventSubscriber\MigrationDrushCommandProgress::updateProgressBar()

Event callback for advancing the progress bar.

File

src/EventSubscriber/MigrationDrushCommandProgress.php, line 89

Class

MigrationDrushCommandProgress
Import and rollback progress bar.

Namespace

Drupal\migrate_tools\EventSubscriber

Code

public function updateProgressBar() {
  if ($this
    ->isProgressBar()) {
    $this->symfonyProgressBar
      ->advance();
  }
}