function Row::removeDestinationProperty

Same name in other branches
  1. 9 core/modules/migrate/src/Row.php \Drupal\migrate\Row::removeDestinationProperty()
  2. 8.9.x core/modules/migrate/src/Row.php \Drupal\migrate\Row::removeDestinationProperty()
  3. 11.x 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));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.