function Row::getDestinationProperty
Same name in other branches
- 9 core/modules/migrate/src/Row.php \Drupal\migrate\Row::getDestinationProperty()
- 8.9.x core/modules/migrate/src/Row.php \Drupal\migrate\Row::getDestinationProperty()
- 11.x core/modules/migrate/src/Row.php \Drupal\migrate\Row::getDestinationProperty()
Returns the value of a destination property.
This function directly returns a destination property. The property name should not begin with an @ symbol. This is most useful in a destination plugin.
Parameters
string $property: The name of a property on the destination.
Return value
mixed The destination value.
1 call to Row::getDestinationProperty()
- Row::getMultiple in core/
modules/ migrate/ src/ Row.php - Retrieve multiple source and destination properties at once.
File
-
core/
modules/ migrate/ src/ Row.php, line 308
Class
- Row
- Stores a row.
Namespace
Drupal\migrateCode
public function getDestinationProperty($property) {
return NestedArray::getValue($this->destination, explode(static::PROPERTY_SEPARATOR, $property));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.