interface MigrateFieldPluginManagerInterface
Same name in other branches
- 9 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface
- 8.9.x core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface
- 10 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 extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface \Drupal\Component\Plugin\Factory\FactoryInterface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\migrate\Plugin\MigratePluginManagerInterface extends \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface extends \Drupal\migrate\Plugin\MigratePluginManagerInterface
- interface \Drupal\migrate\Plugin\MigratePluginManagerInterface extends \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface \Drupal\Component\Plugin\Factory\FactoryInterface \Drupal\Component\Plugin\Mapper\MapperInterface
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
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
MigrateFieldPluginManagerInterface::getPluginIdFromFieldType | public | function | Get the plugin ID from the field type. |
MigratePluginManagerInterface::createInstance | public | function | Creates a pre-configured instance of a migration plugin. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.