Overrides ProcessPluginBase::transform
public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { if (is_array($value)) { $delimiter = $this->configuration['delimiter'] ?? ''; return implode($delimiter, $value); } else { throw new MigrateException(sprintf('%s is not an array', var_export($value, TRUE))); } }