You are here

public function FieldPluginBase::processField in Drupal 8

Alters the migration for field definitions.

Deprecated

in drupal:8.6.0 and is removed from drupal:9.0.0. Use alterFieldMigration() instead.

See also

https://www.drupal.org/node/2944598

::alterFieldMigration()

File

core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php, line 31

Class

FieldPluginBase
The base class for all field plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field

Code

public function processField(MigrationInterface $migration) {
  @trigger_error('Deprecated in Drupal 8.6.0, to be removed before Drupal 9.0.0. Use alterFieldMigration() instead. See https://www.drupal.org/node/2944598.', E_USER_DEPRECATED);
  $this
    ->alterFieldMigration($migration);
}