function 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
File
-
core/
modules/ migrate_drupal/ src/ FieldDiscoveryInterface.php, line 66
Class
- FieldDiscoveryInterface
- Provides field discovery for Drupal 6 & 7 migrations.
Namespace
Drupal\migrate_drupalCode
public function addBundleFieldProcesses(MigrationInterface $migration, $entity_type_id, $bundle);