function Row::setDestinationProperty
Same name 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()
- 11.x 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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.