You are here

public function Migration::setProcessOfProperty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Entity/Migration.php \Drupal\migrate\Entity\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/Entity/Migration.php
Merge the process pipeline configuration for a single property.

File

core/modules/migrate/src/Entity/Migration.php, line 512
Contains \Drupal\migrate\Entity\Migration.

Class

Migration
Defines the Migration entity.

Namespace

Drupal\migrate\Entity

Code

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