function Email::defineValueProcessPipeline
Same name in other branches
- 8.9.x core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::defineValueProcessPipeline()
- 10 core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::defineValueProcessPipeline()
- 11.x core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::defineValueProcessPipeline()
Overrides FieldPluginBase::defineValueProcessPipeline
File
-
core/
modules/ field/ src/ Plugin/ migrate/ field/ Email.php, line 53
Class
- MigrateField Plugin for Drupal 6 and 7 email fields.
Namespace
Drupal\field\Plugin\migrate\fieldCode
public function defineValueProcessPipeline(MigrationInterface $migration, $field_name, $data) {
$process = [
'plugin' => 'sub_process',
'source' => $field_name,
'process' => [
'value' => 'email',
],
];
$migration->setProcessOfProperty($field_name, $process);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.