comparison core/modules/migrate/src/Row.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 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
102 $this->source = $values; 102 $this->source = $values;
103 $this->sourceIds = $source_ids; 103 $this->sourceIds = $source_ids;
104 $this->isStub = $is_stub; 104 $this->isStub = $is_stub;
105 foreach (array_keys($source_ids) as $id) { 105 foreach (array_keys($source_ids) as $id) {
106 if (!$this->hasSourceProperty($id)) { 106 if (!$this->hasSourceProperty($id)) {
107 throw new \InvalidArgumentException("$id has no value"); 107 throw new \InvalidArgumentException("$id is defined as a source ID but has no value.");
108 } 108 }
109 } 109 }
110 } 110 }
111 111
112 /** 112 /**