You are here

function dropzonejs_eb_widget_update_dependencies in DropzoneJS 8.2

Update hook dependencies.

File

modules/eb_widget/dropzonejs_eb_widget.install, line 15
Install function hooks for the DropzoneJS entity browser widget module.

Code

function dropzonejs_eb_widget_update_dependencies() {
  if (\Drupal::moduleHandler()
    ->moduleExists('media_entity')) {
    $dependencies['dropzonejs_eb_widget'] = [
      8202 => [
        'media_entity' => 8201,
      ],
    ];
    return $dependencies;
  }
}