Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d89a17dc
Commit
d89a17dc
authored
Jan 23, 2013
by
webchick
Browse files
Issue
#1893800
by Berdir: Alias Symfony's ContainerBuilder in UpdateBundle to prevent conflicts.
parent
2575651a
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/DependencyInjection/UpdateBundle.php
View file @
d89a17dc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
namespace
Drupal\Core\DependencyInjection
;
namespace
Drupal\Core\DependencyInjection
;
use
Symfony\Component\DependencyInjection\ContainerBuilder
;
use
Symfony\Component\DependencyInjection\ContainerBuilder
as
SymfonyContainerBuilder
;
use
Symfony\Component\HttpKernel\Bundle\Bundle
;
use
Symfony\Component\HttpKernel\Bundle\Bundle
;
/**
/**
...
@@ -22,7 +22,7 @@ class UpdateBundle extends Bundle {
...
@@ -22,7 +22,7 @@ class UpdateBundle extends Bundle {
/**
/**
* Implements \Symfony\Component\HttpKernel\Bundle\BundleInterface::build().
* Implements \Symfony\Component\HttpKernel\Bundle\BundleInterface::build().
*/
*/
public
function
build
(
ContainerBuilder
$container
)
{
public
function
build
(
Symfony
ContainerBuilder
$container
)
{
// Disable the Lock service.
// Disable the Lock service.
$container
$container
->
register
(
'lock'
,
'Drupal\Core\Lock\NullLockBackend'
);
->
register
(
'lock'
,
'Drupal\Core\Lock\NullLockBackend'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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