diff --git a/core/modules/migrate/src/Entity/Migration.php b/core/modules/migrate/src/Entity/Migration.php index e0368ff..54b90c3 100644 --- a/core/modules/migrate/src/Entity/Migration.php +++ b/core/modules/migrate/src/Entity/Migration.php @@ -481,6 +481,19 @@ public function getMigrationDependencies() { return $this->migration_dependencies + array('required' => [], 'optional' => []); } + /** + * {@inheritdoc} + */ + public function trustData() { + // Migrations cannot be trusted since they are often write by hand or as the + // result of a copy/paste. + $this->trustedData = FALSE; + return $this; + } + + /** + * {@inheritdoc} + */ public function calculateDependencies() { parent::calculateDependencies(); $this->calculatePluginDependencies($this->getSourcePlugin());