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
311
Merge Requests
311
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
1fc6e00b
Commit
1fc6e00b
authored
Jun 09, 2015
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2501577
by willzyx: Faulty dependency to ModuleHandler
parent
78f07605
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
core/modules/field/src/FieldStorageConfigStorage.php
core/modules/field/src/FieldStorageConfigStorage.php
+4
-4
core/modules/user/src/AccountSettingsForm.php
core/modules/user/src/AccountSettingsForm.php
+4
-4
No files found.
core/modules/field/src/FieldStorageConfigStorage.php
View file @
1fc6e00b
...
...
@@ -16,7 +16,7 @@
use
Drupal\Core\Language\LanguageManagerInterface
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
use
Drupal\Core\Config\ConfigFactoryInterface
;
use
Drupal\Core\Extension\ModuleHandler
;
use
Drupal\Core\Extension\ModuleHandler
Interface
;
use
Drupal\Core\State\StateInterface
;
/**
...
...
@@ -27,7 +27,7 @@ class FieldStorageConfigStorage extends ConfigEntityStorage {
/**
* The module handler.
*
* @var \Drupal\Core\Extension\ModuleHandler
* @var \Drupal\Core\Extension\ModuleHandler
Interface
*/
protected
$moduleHandler
;
...
...
@@ -65,14 +65,14 @@ class FieldStorageConfigStorage extends ConfigEntityStorage {
* The language manager.
* @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager
* The entity manager.
* @param \Drupal\Core\Extension\ModuleHandler $module_handler
* @param \Drupal\Core\Extension\ModuleHandler
Interface
$module_handler
* The module handler.
* @param \Drupal\Core\State\StateInterface $state
* The state key value store.
* @param \Drupal\Component\Plugin\PluginManagerInterface\FieldTypePluginManagerInterface
* The field type plugin manager.
*/
public
function
__construct
(
EntityTypeInterface
$entity_type
,
ConfigFactoryInterface
$config_factory
,
UuidInterface
$uuid_service
,
LanguageManagerInterface
$language_manager
,
EntityManagerInterface
$entity_manager
,
ModuleHandler
$module_handler
,
StateInterface
$state
,
FieldTypePluginManagerInterface
$field_type_manager
)
{
public
function
__construct
(
EntityTypeInterface
$entity_type
,
ConfigFactoryInterface
$config_factory
,
UuidInterface
$uuid_service
,
LanguageManagerInterface
$language_manager
,
EntityManagerInterface
$entity_manager
,
ModuleHandler
Interface
$module_handler
,
StateInterface
$state
,
FieldTypePluginManagerInterface
$field_type_manager
)
{
parent
::
__construct
(
$entity_type
,
$config_factory
,
$uuid_service
,
$language_manager
);
$this
->
entityManager
=
$entity_manager
;
$this
->
moduleHandler
=
$module_handler
;
...
...
core/modules/user/src/AccountSettingsForm.php
View file @
1fc6e00b
...
...
@@ -9,7 +9,7 @@
use
Drupal\Core\Form\ConfigFormBase
;
use
Drupal\Core\Config\ConfigFactoryInterface
;
use
Drupal\Core\Extension\ModuleHandler
;
use
Drupal\Core\Extension\ModuleHandler
Interface
;
use
Drupal\Core\Form\FormStateInterface
;
use
Drupal\Core\Render\Element
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
...
...
@@ -22,7 +22,7 @@ class AccountSettingsForm extends ConfigFormBase {
/**
* The module handler.
*
* @var \Drupal\Core\Extension\ModuleHandler
* @var \Drupal\Core\Extension\ModuleHandler
Interface
*/
protected
$moduleHandler
;
...
...
@@ -38,12 +38,12 @@ class AccountSettingsForm extends ConfigFormBase {
*
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
* The factory for configuration objects.
* @param \Drupal\Core\Extension\ModuleHandler $module_handler
* @param \Drupal\Core\Extension\ModuleHandler
Interface
$module_handler
* The module handler.
* @param \Drupal\user\RoleStorageInterface $role_storage
* The role storage.
*/
public
function
__construct
(
ConfigFactoryInterface
$config_factory
,
ModuleHandler
$module_handler
,
RoleStorageInterface
$role_storage
)
{
public
function
__construct
(
ConfigFactoryInterface
$config_factory
,
ModuleHandler
Interface
$module_handler
,
RoleStorageInterface
$role_storage
)
{
parent
::
__construct
(
$config_factory
);
$this
->
moduleHandler
=
$module_handler
;
$this
->
roleStorage
=
$role_storage
;
...
...
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