public function Row::setDestinationProperty in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Row.php \Drupal\migrate\Row::setDestinationProperty()
- 10 core/modules/migrate/src/Row.php \Drupal\migrate\Row::setDestinationProperty()
Sets destination properties.
Parameters
string $property: The name of the destination property.
mixed $value: The property value to set on the destination.
File
- core/
modules/ migrate/ src/ Row.php, line 230
Class
- Row
- Stores a row.
Namespace
Drupal\migrateCode
public function setDestinationProperty($property, $value) {
$this->rawDestination[$property] = $value;
NestedArray::setValue($this->destination, explode(static::PROPERTY_SEPARATOR, $property), $value, TRUE);
}