Commit 5bc6f9c4 authored by MickeA's avatar MickeA Committed by chr.fritsch

Issue #2935637 by MickeA, kevinquillen: Update 8202 will not apply, causing...

Issue #2935637 by MickeA, kevinquillen: Update 8202 will not apply, causing Drupal to think there is always an update pending
parent bd0f9de8
......@@ -13,10 +13,12 @@ use Drupal\entity_browser\Entity\EntityBrowser;
* Update hook dependencies.
*/
function dropzonejs_eb_widget_update_dependencies() {
$dependencies['dropzonejs_eb_widget'] = [
8202 => ['media_entity' => 8201],
];
return $dependencies;
if (\Drupal::moduleHandler()->moduleExists('media_entity')) {
$dependencies['dropzonejs_eb_widget'] = [
8202 => ['media_entity' => 8201],
];
return $dependencies;
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment