public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { if ($row ->getSourceProperty('type') == 'paragraphs') { $value['target_type'] = 'paragraph'; } return $value; }