You are here

public static function FilePlainConfigSourceBase::create in Media Migration 8

File

src/Plugin/migrate/source/d7/FilePlainConfigSourceBase.php, line 61

Class

FilePlainConfigSourceBase
Base class for config migrate source plugins of plain file 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_dealer'));
}