diff --git a/core/modules/migrate/src/Row.php b/core/modules/migrate/src/Row.php index c6abe07f83..5ce140747b 100644 --- a/core/modules/migrate/src/Row.php +++ b/core/modules/migrate/src/Row.php @@ -104,7 +104,7 @@ public function __construct(array $values = [], array $source_ids = [], $is_stub $this->isStub = $is_stub; foreach (array_keys($source_ids) as $id) { if (!$this->hasSourceProperty($id)) { - throw new \InvalidArgumentException(t("@key is defined as a source ID but has no value.", ['@key' => $id])); + throw new \InvalidArgumentException("'@key' is defined as a source ID but has no value.", ['@key' => $id]); } } }