Migration::$audit

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::audit
  2. 10 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::audit
  3. 11.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::audit

Whether the migration is auditable.

If set to TRUE, the migration's IDs will be audited. This means that, if the highest destination ID is greater than the highest source ID, a warning will be displayed that entities might be overwritten.

Type: bool

File

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

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

protected $audit = FALSE;

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