Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldDiscoveryInterface.php

function FieldDiscoveryInterface::addEntityFieldProcesses

Adds the field processes for an entity 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.

Parameters

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

string $entity_type_id: The legacy entity type to add processes for.

Throws

\InvalidArgumentException

File

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

Class

FieldDiscoveryInterface
Provides field discovery for Drupal 6 & 7 migrations.

Namespace

Drupal\migrate_drupal

Code

public function addEntityFieldProcesses(MigrationInterface $migration, $entity_type_id);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal