Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!5034
Resolve
#3394870
"Allow controller service"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Resolve
#3394870
"Allow controller service"
issue/drupal-3394870:3394870-allow-controller-service
into
11.x
Overview
1
Commits
13
Pipelines
11
Changes
6
1 unresolved thread
Hide all comments
Closed
Dave Long
requested to merge
issue/drupal-3394870:3394870-allow-controller-service
into
11.x
1 year ago
Overview
1
Commits
13
Pipelines
11
Changes
6
1 unresolved thread
Hide all comments
Expand
Closes
#3394870
0
0
Merge request reports
Compare
11.x
version 10
a7557de2
1 year ago
version 9
d9dc315b
1 year ago
version 8
4d89d12f
1 year ago
version 7
7a100adb
1 year ago
version 6
5f7add18
1 year ago
version 5
a0d80a5d
1 year ago
version 4
04ac8d37
1 year ago
version 3
805f9c21
1 year ago
version 2
2e3bfd10
1 year ago
version 1
f58054b1
1 year ago
11.x (base)
and
latest version
latest version
957811f3
13 commits,
1 year ago
version 10
a7557de2
12 commits,
1 year ago
version 9
d9dc315b
11 commits,
1 year ago
version 8
4d89d12f
10 commits,
1 year ago
version 7
7a100adb
9 commits,
1 year ago
version 6
5f7add18
8 commits,
1 year ago
version 5
a0d80a5d
7 commits,
1 year ago
version 4
04ac8d37
6 commits,
1 year ago
version 3
805f9c21
4 commits,
1 year ago
version 2
2e3bfd10
3 commits,
1 year ago
version 1
f58054b1
2 commits,
1 year ago
6 files
+
132
−
35
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
core/lib/Drupal/Core/Controller/ControllerBase.php
+
2
−
8
Options
@@ -2,12 +2,12 @@
namespace
Drupal\Core\Controller
;
use
Drupal\Core\DependencyInjection\AutowireTrait
;
use
Drupal\Core\DependencyInjection\ContainerInjectionInterface
;
use
Drupal\Core\Logger\LoggerChannelTrait
;
use
Drupal\Core\Routing\RedirectDestinationTrait
;
use
Drupal\Core\StringTranslation\StringTranslationTrait
;
use
Drupal\Core\Url
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
use
Drupal\Core\Messenger\MessengerTrait
;
use
Symfony\Component\HttpFoundation\RedirectResponse
;
@@ -34,6 +34,7 @@
*/
abstract
class
ControllerBase
implements
ContainerInjectionInterface
{
use
AutowireTrait
;
use
LoggerChannelTrait
;
use
MessengerTrait
;
use
RedirectDestinationTrait
;
@@ -102,13 +103,6 @@ abstract class ControllerBase implements ContainerInjectionInterface {
*/
protected
$formBuilder
;
/**
* {@inheritdoc}
*/
public
static
function
create
(
ContainerInterface
$container
)
{
return
new
static
();
}
/**
* Retrieves the entity type manager.
*
Loading