You are here

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

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

Overrides FormBase::create

File

src/Form/MediaBulkUploadForm.php, line 114

Class

MediaBulkUploadForm
Class BulkMediaUploadForm.

Namespace

Drupal\media_bulk_upload\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.manager'), $container
    ->get('media_bulk_upload.subform_manager'), $container
    ->get('current_user'), $container
    ->get('messenger'));
}