Mercurial > hg > cmmr2012-drupal-site
diff core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php Thu Feb 28 11:14:44 2019 +0000 +++ b/core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php Thu Feb 28 13:11:55 2019 +0000 @@ -17,7 +17,7 @@ * @param \Drupal\migrate\Plugin\MigrationInterface $migration * The migration entity. */ - public function processField(MigrationInterface $migration); + public function alterFieldMigration(MigrationInterface $migration); /** * Apply any custom processing to the field instance migration. @@ -25,7 +25,7 @@ * @param \Drupal\migrate\Plugin\MigrationInterface $migration * The migration entity. */ - public function processFieldInstance(MigrationInterface $migration); + public function alterFieldInstanceMigration(MigrationInterface $migration); /** * Apply any custom processing to the field widget migration. @@ -33,7 +33,7 @@ * @param \Drupal\migrate\Plugin\MigrationInterface $migration * The migration entity. */ - public function processFieldWidget(MigrationInterface $migration); + public function alterFieldWidgetMigration(MigrationInterface $migration); /** * Apply any custom processing to the field formatter migration. @@ -41,7 +41,7 @@ * @param \Drupal\migrate\Plugin\MigrationInterface $migration * The migration entity. */ - public function processFieldFormatter(MigrationInterface $migration); + public function alterFieldFormatterMigration(MigrationInterface $migration); /** * Get the field formatter type from the source. @@ -57,7 +57,7 @@ /** * Get a map between D6 formatters and D8 formatters for this field type. * - * This is used by static::processFieldFormatter() in the base class. + * This is used by static::alterFieldFormatterMigration() in the base class. * * @return array * The keys are D6 formatters and the values are D8 formatters. @@ -93,7 +93,7 @@ * @param array $data * The array of field data from FieldValues::fieldData(). */ - public function processFieldValues(MigrationInterface $migration, $field_name, $data); + public function defineValueProcessPipeline(MigrationInterface $migration, $field_name, $data); /** * Computes the destination type of a migrated field.