public function Migration::setTrackLastImported in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setTrackLastImported()
- 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\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/ Plugin/ Migration.php, line 678
Class
- Migration
- Defines the Migration plugin.
Namespace
Drupal\migrate\PluginCode
public function setTrackLastImported($track_last_imported) {
$this->trackLastImported = (bool) $track_last_imported;
return $this;
}