You are here

interface MigrateFieldPluginManagerInterface in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface
  2. 9 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface

Hierarchy

Expanded class hierarchy of MigrateFieldPluginManagerInterface

All classes that implement MigrateFieldPluginManagerInterface

4 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
MigrationState.php in core/modules/migrate_drupal/src/MigrationState.php
MigrationStateUnitTest.php in core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php

File

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

Namespace

Drupal\migrate_drupal\Plugin
View 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

Namesort descending Modifiers Type Description Overrides
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 1
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 3
MigrateFieldPluginManagerInterface::getPluginIdFromFieldType public function Get the plugin ID from the field type. 1
MigratePluginManagerInterface::createInstance public function Creates a pre-configured instance of a migration plugin.