You are here

public function Row::getDestinationProperty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Row.php \Drupal\migrate\Row::getDestinationProperty()

Returns the value of a destination property.

Parameters

string $property: The name of a property on the destination.

Return value

mixed The destination value.

File

core/modules/migrate/src/Row.php, line 271
Contains \Drupal\migrate\Row.

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function getDestinationProperty($property) {
  return NestedArray::getValue($this->destination, explode(static::PROPERTY_SEPARATOR, $property));
}