File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,18 @@ class Plugin implements BundlePluginInterface
176
176
return [
177
177
BundleConfig::create(KnpMenuBundle::class)
178
178
->setLoadAfter([ContaoCoreBundle::class]),
179
+
180
+ // In case you also need your bundle to be loaded after a legacy
181
+ // style module that resides in system/modules, you can just use
182
+ // its name as string:
183
+ // ->setLoadAfter([ContaoCoreBundle::class, 'legacy_module_name']),
184
+
185
+ // Speaking about legacy modules:
186
+ // In case your bundle replaces an old legacy module, you can indicate
187
+ // this to the plugin loader.
188
+ // This will enable other legacy modules to be still loaded after your
189
+ // newly created bundle in case they require this to work properly.
190
+ // ->setReplace(['old_module_name']),
179
191
];
180
192
}
181
193
}
You can’t perform that action at this time.
0 commit comments