You are here

public function Row::cloneWithoutDestination in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 195
Contains \Drupal\migrate\Row.

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

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