We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f43273 commit bb090aeCopy full SHA for bb090ae
drufony.module
@@ -12,7 +12,6 @@ function drufony_boot() {
12
Drufony::boot();
13
}
14
15
-
16
/**
17
* Implements hook_flush_caches().
18
*/
@@ -44,3 +43,9 @@ function drufony_stream_wrappers() {
44
43
),
45
);
46
+
47
+if (!function_exists('composer_manager_register_autoloader')) {
48
+ function composer_manager_register_autoloader() {
49
+ require_once DRUPAL_ROOT . '/../vendor/autoload.php';
50
+ }
51
+}
drufony.services.yml
@@ -7,4 +7,4 @@ services:
7
8
class_loader:
9
class: Composer\Autoload\Classloader
10
- factory: [ '@=constant("DRUFONY_COMPOSER_AUTOLOAD_CLASS")', getLoader ]
+ factory: [ '@=constant("COMPOSER_AUTOLOAD_CLASS")', getLoader ]
0 commit comments