function Row::removeEmptyDestinationProperty

Removes an empty destination property.

Parameters

string $property: The name of the empty destination property.

File

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

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function removeEmptyDestinationProperty(string $property) : void {
  $this->emptyDestinationProperties = array_diff($this->emptyDestinationProperties, [
    $property,
  ]);
}

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