function MigrateFieldPluginManagerInterface::getPluginIdFromFieldType

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface::getPluginIdFromFieldType()
  2. 8.9.x core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface::getPluginIdFromFieldType()
  3. 10 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.

File

core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php, line 26

Class

MigrateFieldPluginManagerInterface

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.