public function FieldDiscovery::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/FieldDiscovery.php \Drupal\migrate_drupal\FieldDiscovery::__construct()
- 9 core/modules/migrate_drupal/src/FieldDiscovery.php \Drupal\migrate_drupal\FieldDiscovery::__construct()
Constructs a FieldDiscovery object.
Parameters
\Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface $field_plugin_manager: The field plugin manager.
\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migration_plugin_manager: The migration plugin manager.
\Psr\Log\LoggerInterface $logger: The logger channel service.
1 call to FieldDiscovery::__construct()
- FieldDiscoveryTestClass::__construct in core/
modules/ migrate_drupal/ tests/ modules/ field_discovery_test/ src/ FieldDiscoveryTestClass.php - Constructs a FieldDiscoveryTestClass object.
1 method overrides FieldDiscovery::__construct()
- FieldDiscoveryTestClass::__construct in core/
modules/ migrate_drupal/ tests/ modules/ field_discovery_test/ src/ FieldDiscoveryTestClass.php - Constructs a FieldDiscoveryTestClass object.
File
- core/
modules/ migrate_drupal/ src/ FieldDiscovery.php, line 102
Class
- FieldDiscovery
- Provides field discovery for Drupal 6 & 7 migrations.
Namespace
Drupal\migrate_drupalCode
public function __construct(MigrateFieldPluginManagerInterface $field_plugin_manager, MigrationPluginManagerInterface $migration_plugin_manager, LoggerInterface $logger) {
$this->fieldPluginManager = $field_plugin_manager;
$this->migrationPluginManager = $migration_plugin_manager;
$this->logger = $logger;
}