You are here

public function FieldDiscoveryInterface::addBundleFieldProcesses in Drupal 10

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

Adds the field processes for a bundle to a migration.

Parameters

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

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

string $bundle: The legacy bundle (or content_type) to add processes for.

Throws

\InvalidArgumentException

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

File

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

Class

FieldDiscoveryInterface
Provides field discovery for Drupal 6 & 7 migrations.

Namespace

Drupal\migrate_drupal

Code

public function addBundleFieldProcesses(MigrationInterface $migration, $entity_type_id, $bundle);