You are here

public function FieldDiscoveryInterface::addAllFieldProcesses in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/src/FieldDiscoveryInterface.php \Drupal\migrate_drupal\FieldDiscoveryInterface::addAllFieldProcesses()
  2. 9 core/modules/migrate_drupal/src/FieldDiscoveryInterface.php \Drupal\migrate_drupal\FieldDiscoveryInterface::addAllFieldProcesses()

Adds the field processes to a migration.

This method is used in field migrations to execute the migration process alter method specified by the 'field_plugin_method' key of the migration for all field plugins applicable to this Drupal to Drupal migration. This method is used internally for field, field instance, widget, and formatter migrations to allow field plugins to alter the process for these migrations.

@internal

Parameters

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration to add process plugins to.

Throws

\InvalidArgumentException

1 method overrides FieldDiscoveryInterface::addAllFieldProcesses()
FieldDiscovery::addAllFieldProcesses in core/modules/migrate_drupal/src/FieldDiscovery.php
Adds the field processes to a migration.

File

core/modules/migrate_drupal/src/FieldDiscoveryInterface.php, line 33

Class

FieldDiscoveryInterface
Provides field discovery for Drupal 6 & 7 migrations.

Namespace

Drupal\migrate_drupal

Code

public function addAllFieldProcesses(MigrationInterface $migration);