diff --git a/core/modules/migrate/src/Entity/Migration.php b/core/modules/migrate/src/Entity/Migration.php index 66970a6..26a5520 100644 --- a/core/modules/migrate/src/Entity/Migration.php +++ b/core/modules/migrate/src/Entity/Migration.php @@ -409,11 +409,6 @@ public function getSystemOfRecord() { * {@inheritdoc} */ public function setSystemOfRecord($system_of_record) { - if ($system_of_record !== static::SOURCE && $system_of_record !== static::DESTINATION) { - throw new \InvalidArgumentException(String::format("The system-of-record '@systemofrecord' is not valid.", [ - '@systemofrecord' => $system_of_record, - ])); - } $this->systemOfRecord = $system_of_record; }