public function MigrateFieldPluginManagerInterface::getPluginIdFromFieldType in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface::getPluginIdFromFieldType()
Get the plugin ID from the field type.
Parameters
string $field_type: The field type being migrated.
array $configuration: (optional) An array of configuration relevant to the plugin instance.
\Drupal\migrate\Plugin\MigrationInterface|null $migration: (optional) The current migration instance.
Return value
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.
1 method overrides MigrateFieldPluginManagerInterface::getPluginIdFromFieldType()
- MigrateFieldPluginManager::getPluginIdFromFieldType in core/
modules/ migrate_drupal/ src/ Plugin/ MigrateFieldPluginManager.php - Get the plugin ID from the field type.
File
- core/
modules/ migrate_drupal/ src/ Plugin/ MigrateFieldPluginManagerInterface.php, line 26
Class
Namespace
Drupal\migrate_drupal\PluginCode
public function getPluginIdFromFieldType($field_type, array $configuration = [], MigrationInterface $migration = NULL);