Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Row.php

function Row::setDestinationProperty

Sets destination properties.

Parameters

string $property: The name of the destination property.

mixed $value: The property value to set on the destination.

File

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

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function setDestinationProperty($property, $value) {
    $this->rawDestination[$property] = $value;
    NestedArray::setValue($this->destination, explode(static::PROPERTY_SEPARATOR, $property), $value, TRUE);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal