You are here

public static function MediaSubFormManager::create in Media Bulk Upload 8

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

Overrides ContainerInjectionInterface::create

File

src/MediaSubFormManager.php, line 134

Class

MediaSubFormManager
Class MediaSubFormManager.

Namespace

Drupal\media_bulk_upload

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.manager'), $container
    ->get('media_bulk_upload.media_type_manager'), $container
    ->get('token'), $container
    ->get('file_system'));
}