function Migration::setTrackLastImported

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setTrackLastImported()
  2. 10 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setTrackLastImported()

Overrides MigrationInterface::setTrackLastImported

File

core/modules/migrate/src/Plugin/Migration.php, line 678

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

public function setTrackLastImported($track_last_imported) {
    $this->trackLastImported = (bool) $track_last_imported;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.