diff --git a/composer_deploy.module b/composer_deploy.module index 15a4b0bc826fc7f31b15dd6569fd01a90150a5e1..374b5f3722c7611d70bbcaaec6805c08b0617002 100644 --- a/composer_deploy.module +++ b/composer_deploy.module @@ -4,6 +4,7 @@ use Drupal\composer_deploy\ComposerDeployHandler; use Drupal\Core\Extension\Extension; use Drupal\Core\Url; use DrupalFinder\DrupalFinder; +use DrupalFinder\DrupalFinderComposerRuntime; /** * @param array $info @@ -14,7 +15,7 @@ function composer_deploy_system_info_alter(array &$info, Extension $file, $type) $handler = &drupal_static(__FUNCTION__); if (!isset($handler)) { - $drupalFinder = new \DrupalFinder\DrupalFinderComposerRuntime(); + $drupalFinder = new DrupalFinderComposerRuntime(); if ($drupalFinder->getDrupalRoot()) { $handler = new ComposerDeployHandler($drupalFinder); $prefixes = \Drupal::config('composer_deploy.settings')->get('prefixes');