function Row::cloneWithoutDestination

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Row.php \Drupal\migrate\Row::cloneWithoutDestination()
  2. 8.9.x core/modules/migrate/src/Row.php \Drupal\migrate\Row::cloneWithoutDestination()
  3. 10 core/modules/migrate/src/Row.php \Drupal\migrate\Row::cloneWithoutDestination()

Clones the row with an empty set of destination values.

Return value

static

File

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

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function cloneWithoutDestination() {
    return (new static($this->getSource(), $this->sourceIds, $this->isStub()))
        ->freezeSource();
}

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