function 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 29

Class

MigrateFieldPluginManagerInterface
Interface implemented by plugin manager for migrate field plugins.

Namespace

Drupal\migrate_drupal\Plugin

Code

public function getPluginIdFromFieldType($field_type, array $configuration = [], ?MigrationInterface $migration = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.