public static function MediaEntityDropzoneJsEbWidget::create in DropzoneJS 8
Same name and namespace in other branches
- 8.2 modules/eb_widget/src/Plugin/EntityBrowser/Widget/MediaEntityDropzoneJsEbWidget.php \Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget\MediaEntityDropzoneJsEbWidget::create()
Overrides DropzoneJsEbWidget::create
1 method overrides MediaEntityDropzoneJsEbWidget::create()
- InlineEntityFormMediaWidget::create in modules/
eb_widget/ src/ Plugin/ EntityBrowser/ Widget/ InlineEntityFormMediaWidget.php
File
- modules/
eb_widget/ src/ Plugin/ EntityBrowser/ Widget/ MediaEntityDropzoneJsEbWidget.php, line 72
Class
- MediaEntityDropzoneJsEbWidget
- Provides an Entity Browser widget that uploads uploads media entities.
Namespace
Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\WidgetCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('event_dispatcher'), $container
->get('entity_type.manager'), $container
->get('plugin.manager.entity_browser.widget_validation'), $container
->get('dropzonejs.upload_save'), $container
->get('current_user'), $container
->get('token'), $container
->get('module_handler'));
}