You are here

protected function DropzoneJsEbWidget::setLibraryDiscovery in DropzoneJS 8.2

Set the Library Discovery service.

Parameters

\Drupal\Core\Asset\LibraryDiscoveryInterface $library_discovery: The library discovery service.

File

modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php, line 126

Class

DropzoneJsEbWidget
Provides an Entity Browser widget that uploads new files.

Namespace

Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget

Code

protected function setLibraryDiscovery(LibraryDiscoveryInterface $library_discovery) {
  $this->libraryDiscovery = $library_discovery;
}