function FieldDiscoveryInterface::addBundleFieldProcesses

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal/src/FieldDiscoveryInterface.php \Drupal\migrate_drupal\FieldDiscoveryInterface::addBundleFieldProcesses()
  2. 10 core/modules/migrate_drupal/src/FieldDiscoveryInterface.php \Drupal\migrate_drupal\FieldDiscoveryInterface::addBundleFieldProcesses()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.