Mercurial > hg > isophonics-drupal-site
comparison core/modules/migrate/src/Plugin/Migration.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 7a779792577d |
children | c2387f117808 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
151 * An optional list of tags, used by the plugin manager for filtering. | 151 * An optional list of tags, used by the plugin manager for filtering. |
152 * | 152 * |
153 * @var array | 153 * @var array |
154 */ | 154 */ |
155 protected $migration_tags = []; | 155 protected $migration_tags = []; |
156 | |
157 /** | |
158 * Whether the migration is auditable. | |
159 * | |
160 * If set to TRUE, the migration's IDs will be audited. This means that, if | |
161 * the highest destination ID is greater than the highest source ID, a warning | |
162 * will be displayed that entities might be overwritten. | |
163 * | |
164 * @var bool | |
165 */ | |
166 protected $audit = FALSE; | |
156 | 167 |
157 /** | 168 /** |
158 * These migrations, if run, must be executed before this migration. | 169 * These migrations, if run, must be executed before this migration. |
159 * | 170 * |
160 * These are different from the configuration dependencies. Migration | 171 * These are different from the configuration dependencies. Migration |
675 */ | 686 */ |
676 public function getMigrationTags() { | 687 public function getMigrationTags() { |
677 return $this->migration_tags; | 688 return $this->migration_tags; |
678 } | 689 } |
679 | 690 |
691 /** | |
692 * {@inheritdoc} | |
693 */ | |
694 public function isAuditable() { | |
695 return (bool) $this->audit; | |
696 } | |
697 | |
680 } | 698 } |