interface MigrateFieldPluginManagerInterface in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface
 
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\migrate\Plugin\MigratePluginManagerInterface
- interface \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface
 
 
 - interface \Drupal\migrate\Plugin\MigratePluginManagerInterface
 
 - interface \Drupal\Component\Plugin\PluginManagerInterface
 
Expanded class hierarchy of MigrateFieldPluginManagerInterface
All classes that implement MigrateFieldPluginManagerInterface
8 files declare their use of MigrateFieldPluginManagerInterface
- FieldDiscovery.php in core/
modules/ migrate_drupal/ src/ FieldDiscovery.php  - FieldDiscoveryTest.php in core/
modules/ migrate_drupal/ tests/ src/ Unit/ FieldDiscoveryTest.php  - FieldDiscoveryTestClass.php in core/
modules/ migrate_drupal/ tests/ modules/ field_discovery_test/ src/ FieldDiscoveryTestClass.php  - FieldType.php in core/
modules/ field/ src/ Plugin/ migrate/ process/ FieldType.php  - MigrationState.php in core/
modules/ migrate_drupal/ src/ MigrationState.php  
File
- core/
modules/ migrate_drupal/ src/ Plugin/ MigrateFieldPluginManagerInterface.php, line 8  
Namespace
Drupal\migrate_drupal\PluginView source
interface MigrateFieldPluginManagerInterface extends MigratePluginManagerInterface {
  /**
   * Get the plugin ID from the field type.
   *
   * @param string $field_type
   *   The field type being migrated.
   * @param array $configuration
   *   (optional) An array of configuration relevant to the plugin instance.
   * @param \Drupal\migrate\Plugin\MigrationInterface|null $migration
   *   (optional) The current migration instance.
   *
   * @return string
   *   The ID of the plugin for the field_type if available.
   *
   * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
   *   If the plugin cannot be determined, such as if the field type is invalid.
   */
  public function getPluginIdFromFieldType($field_type, array $configuration = [], MigrationInterface $migration = NULL);
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            DiscoveryInterface:: | 
                  public | function | Gets a specific plugin definition. | 4 | 
| 
            DiscoveryInterface:: | 
                  public | function | Gets the definition of all plugins for this type. | 3 | 
| 
            DiscoveryInterface:: | 
                  public | function | Indicates if a specific plugin definition exists. | 1 | 
| 
            MapperInterface:: | 
                  public | function | Gets a preconfigured instance of a plugin. | 3 | 
| 
            MigrateFieldPluginManagerInterface:: | 
                  public | function | Get the plugin ID from the field type. | 1 | 
| 
            MigratePluginManagerInterface:: | 
                  public | function | 
            Creates a pre-configured instance of a migration plugin. Overrides FactoryInterface:: |