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
bff96f48
Commit
bff96f48
authored
Jun 16, 2013
by
webchick
Browse files
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
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
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