You are here

public function Migration::setProcessOfProperty in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setProcessOfProperty()
  2. 10 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setProcessOfProperty()

Set the process pipeline configuration for an individual destination field.

This method allows you to set the process pipeline configuration for a single property within the full process pipeline configuration.

Parameters

string $property: The property of which to set the process pipeline configuration.

mixed $process_of_property: The process pipeline configuration to be set for this property.

Return value

$this The migration entity.

Overrides MigrationInterface::setProcessOfProperty

1 call to Migration::setProcessOfProperty()
Migration::mergeProcessOfProperty in core/modules/migrate/src/Plugin/Migration.php
Merge the process pipeline configuration for a single property.

File

core/modules/migrate/src/Plugin/Migration.php, line 569

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

public function setProcessOfProperty($property, $process_of_property) {
  $this->process[$property] = $process_of_property;
  return $this;
}