Commit 8b2e986c authored by katbailey's avatar katbailey

Need to escape the backslash in bundle class names

parent d7dd6190
......@@ -35,7 +35,7 @@ public function registerBundles()
$modules = array_keys(system_list('module_enabled'));
foreach ($modules as $module) {
$class = "\Drupal\{$module}\{$module}Bundle";
$class = "\Drupal\\{$module}\\{$module}Bundle";
if (class_exists($class)) {
$bundles[] = new $class();
}
......
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