You are here

public function Row::setDestinationProperty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 220
Contains \Drupal\migrate\Row.

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function setDestinationProperty($property, $value) {
  $this->rawDestination[$property] = $value;
  NestedArray::setValue($this->destination, explode(static::PROPERTY_SEPARATOR, $property), $value, TRUE);
}