Commit 8b2e986c authored by Katherine Bailey's avatar Katherine Bailey
Browse files

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();
Supports Markdown
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