You are here

protected function MediaEntityDropzoneJsEbWidget::setModuleHandler in DropzoneJS 8.2

Set the module handler service.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler service.

File

modules/eb_widget/src/Plugin/EntityBrowser/Widget/MediaEntityDropzoneJsEbWidget.php, line 50

Class

MediaEntityDropzoneJsEbWidget
Provides an Entity Browser widget that uploads media entities.

Namespace

Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget

Code

protected function setModuleHandler(ModuleHandlerInterface $moduleHandler) {
  $this->moduleHandler = $moduleHandler;
}