You are here

public function Row::removeDestinationProperty in Drupal 8

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

Removes destination property.

Parameters

string $property: The name of the destination property.

File

core/modules/migrate/src/Row.php, line 241

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function removeDestinationProperty($property) {
  unset($this->rawDestination[$property]);
  NestedArray::unsetValue($this->destination, explode(static::PROPERTY_SEPARATOR, $property));
}