Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
229
Merge Requests
229
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
ecca161f
Commit
ecca161f
authored
Feb 21, 2014
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2201751
by Crell: ServiceModifierInterface needs to be the first compiler pass.
parent
6ff0d4c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
core/lib/Drupal/Core/CoreServiceProvider.php
core/lib/Drupal/Core/CoreServiceProvider.php
+4
-3
No files found.
core/lib/Drupal/Core/CoreServiceProvider.php
View file @
ecca161f
...
...
@@ -54,6 +54,10 @@ public function register(ContainerBuilder $container) {
$this
->
registerModuleHandler
(
$container
);
$this
->
registerUuid
(
$container
);
// Add the compiler pass that lets service providers modify existing
// service definitions. This pass must come first so that later
// list-building passes are operating on the post-alter services list.
$container
->
addCompilerPass
(
new
ModifyServiceDefinitionsPass
());
$container
->
addCompilerPass
(
new
RegisterRouteFiltersPass
());
// Add a compiler pass for registering event subscribers.
$container
->
addCompilerPass
(
new
RegisterKernelListenersPass
(),
PassConfig
::
TYPE_AFTER_REMOVING
);
...
...
@@ -75,9 +79,6 @@ public function register(ContainerBuilder $container) {
// Add the compiler pass that will process the tagged theme negotiator
// service.
$container
->
addCompilerPass
(
new
ThemeNegotiatorPass
());
// Add the compiler pass that lets service providers modify existing
// service definitions.
$container
->
addCompilerPass
(
new
ModifyServiceDefinitionsPass
());
// Add the compiler pass that will process tagged authentication services.
$container
->
addCompilerPass
(
new
RegisterAuthenticationPass
());
// Register Twig extensions.
...
...
Write
Preview
Markdown
is supported
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