function MigrateExecutableInterface::processRow
Same name in other branches
- 9 core/modules/migrate/src/MigrateExecutableInterface.php \Drupal\migrate\MigrateExecutableInterface::processRow()
- 8.9.x core/modules/migrate/src/MigrateExecutableInterface.php \Drupal\migrate\MigrateExecutableInterface::processRow()
- 10 core/modules/migrate/src/MigrateExecutableInterface.php \Drupal\migrate\MigrateExecutableInterface::processRow()
Processes a row.
Parameters
\Drupal\migrate\Row $row: The $row to be processed.
array $process: (optional) A process pipeline configuration. If not set, the top level process configuration in the migration entity is used.
mixed $value: (optional) Initial value of the pipeline for the first destination. Usually setting this is not necessary as $process typically starts with a 'get'. This is useful only when the $process contains a single destination and needs to access a value outside of the source. See \Drupal\migrate\Plugin\migrate\process\SubProcess::transformKey for an example.
Throws
\Drupal\migrate\MigrateException
1 method overrides MigrateExecutableInterface::processRow()
- MigrateExecutable::processRow in core/
modules/ migrate/ src/ MigrateExecutable.php - Processes a row.
File
-
core/
modules/ migrate/ src/ MigrateExecutableInterface.php, line 44
Class
Namespace
Drupal\migrateCode
public function processRow(Row $row, ?array $process = NULL, $value = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.