You are here

public function Migration::setTrackLastImported in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Entity/Migration.php \Drupal\migrate\Entity\Migration::setTrackLastImported()

Set if the migration should track time of last import.

Parameters

bool $track_last_imported: Boolean value to indicate if the migration should track last import time.

Return value

$this

Overrides MigrationInterface::setTrackLastImported

File

core/modules/migrate/src/Entity/Migration.php, line 559
Contains \Drupal\migrate\Entity\Migration.

Class

Migration
Defines the Migration entity.

Namespace

Drupal\migrate\Entity

Code

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