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
303
Merge Requests
303
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
bff96f48
Commit
bff96f48
authored
Jun 16, 2013
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2004408
follow-up by tim.plunkett: Fixed broken tests due to missing use statement.
parent
79a7f1cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
core/modules/views_ui/lib/Drupal/views_ui/ViewListController.php
...dules/views_ui/lib/Drupal/views_ui/ViewListController.php
+8
-5
No files found.
core/modules/views_ui/lib/Drupal/views_ui/ViewListController.php
View file @
bff96f48
...
...
@@ -12,6 +12,7 @@
use
Drupal\Core\Config\Entity\ConfigEntityListController
;
use
Drupal\Core\Entity\EntityControllerInterface
;
use
Drupal\Core\Entity\EntityStorageControllerInterface
;
use
Drupal\Core\Extension\ModuleHandlerInterface
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
/**
...
...
@@ -34,7 +35,8 @@ public static function createInstance(ContainerInterface $container, $entity_typ
$entity_type
,
$container
->
get
(
'plugin.manager.entity'
)
->
getStorageController
(
$entity_type
),
$entity_info
,
$container
->
get
(
'plugin.manager.views.display'
)
$container
->
get
(
'plugin.manager.views.display'
),
$container
->
get
(
'module_handler'
)
);
}
...
...
@@ -49,11 +51,12 @@ public static function createInstance(ContainerInterface $container, $entity_typ
* An array of entity info for this entity type.
* @param \Drupal\Component\Plugin\PluginManagerInterface $display_manager
* The views display plugin manager to use.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler.
*/
public
function
__construct
(
$entity_type
,
EntityStorageControllerInterface
$storage
,
$entity_info
,
PluginManagerInterface
$display_manager
)
{
$this
->
entityType
=
$entity_type
;
$this
->
storage
=
$storage
;
$this
->
entityInfo
=
$entity_info
;
public
function
__construct
(
$entity_type
,
EntityStorageControllerInterface
$storage
,
$entity_info
,
PluginManagerInterface
$display_manager
,
ModuleHandlerInterface
$module_handler
)
{
parent
::
__construct
(
$entity_type
,
$entity_info
,
$storage
,
$module_handler
);
$this
->
displayManager
=
$display_manager
;
}
...
...
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