Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8b2e986c
Commit
8b2e986c
authored
Jul 08, 2012
by
Katherine Bailey
Browse files
Need to escape the backslash in bundle class names
parent
d7dd6190
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/DrupalKernel.php
View file @
8b2e986c
...
...
@@ -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
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment