public function Row::setDestinationProperty in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::setDestinationProperty()
- 9 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 233
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);
}