Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrateFieldPluginManagerInterface.php

interface 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

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
FieldType.php in core/modules/field/src/Plugin/migrate/process/FieldType.php
MigrationState.php in core/modules/migrate_drupal/src/MigrationState.php
ProcessField.php in core/modules/field/src/Plugin/migrate/process/ProcessField.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

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.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal