You are here

public static function FileEntityConfigSourceBase::create in Media Migration 8

File

src/Plugin/migrate/source/d7/FileEntityConfigSourceBase.php, line 53

Class

FileEntityConfigSourceBase
Base class for config migrate source plugins of file entity migrations.

Namespace

Drupal\media_migration\Plugin\migrate\source\d7

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) {
  return new static($configuration, $plugin_id, $plugin_definition, $migration, $container
    ->get('state'), $container
    ->get('entity_type.manager'), $container
    ->get('plugin.manager.file_entity_dealer'));
}