You are here

public function Row::removeDestinationProperty in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::removeDestinationProperty()
  2. 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 244

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));
}