function Email::defineValueProcessPipeline
Same name in other branches
- 9 core/modules/field/src/Plugin/migrate/field/Email.php \Drupal\field\Plugin\migrate\field\Email::defineValueProcessPipeline()
- 8.9.x 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 52
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.