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
293
Merge Requests
293
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
d6125585
Commit
d6125585
authored
Dec 05, 2014
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2387781
by dixon_: Fix camel case for method in EntityStorageInterface
parent
0bb57ed2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
+2
-2
core/lib/Drupal/Core/Entity/EntityStorageInterface.php
core/lib/Drupal/Core/Entity/EntityStorageInterface.php
+2
-2
core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
...rupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
+1
-1
core/lib/Drupal/Core/Entity/Query/QueryFactory.php
core/lib/Drupal/Core/Entity/Query/QueryFactory.php
+2
-2
No files found.
core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
View file @
d6125585
...
...
@@ -334,9 +334,9 @@ protected function invokeHook($hook, EntityInterface $entity) {
}
/**
* Implements Drupal\Core\Entity\EntityStorageInterface::getQueryService
n
ame().
* Implements Drupal\Core\Entity\EntityStorageInterface::getQueryService
N
ame().
*/
public
function
getQueryService
n
ame
()
{
public
function
getQueryService
N
ame
()
{
return
'entity.query.config'
;
}
...
...
core/lib/Drupal/Core/Entity/EntityStorageInterface.php
View file @
d6125585
...
...
@@ -153,7 +153,7 @@ public function save(EntityInterface $entity);
* @return string
* The name of the service for the query for this entity storage.
*/
public
function
getQueryService
n
ame
();
public
function
getQueryService
N
ame
();
/**
* Returns an entity query instance.
...
...
@@ -166,7 +166,7 @@ public function getQueryServicename();
* @return \Drupal\Core\Entity\Query\QueryInterface
* The query instance.
*
* @see \Drupal\Core\Entity\EntityStorageInterface::getQueryService
n
ame()
* @see \Drupal\Core\Entity\EntityStorageInterface::getQueryService
N
ame()
*/
public
function
getQuery
(
$conjunction
=
'AND'
);
...
...
core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
View file @
d6125585
...
...
@@ -202,7 +202,7 @@ protected function has($id, EntityInterface $entity) {
/**
* {@inheritdoc}
*/
public
function
getQueryService
n
ame
()
{
public
function
getQueryService
N
ame
()
{
return
'entity.query.keyvalue'
;
}
...
...
core/lib/Drupal/Core/Entity/Query/QueryFactory.php
View file @
d6125585
...
...
@@ -48,7 +48,7 @@ public function __construct(EntityManagerInterface $entity_manager) {
* The query object that can query the given entity type.
*/
public
function
get
(
$entity_type_id
,
$conjunction
=
'AND'
)
{
$service_name
=
$this
->
entityManager
->
getStorage
(
$entity_type_id
)
->
getQueryService
n
ame
();
$service_name
=
$this
->
entityManager
->
getStorage
(
$entity_type_id
)
->
getQueryService
N
ame
();
return
$this
->
container
->
get
(
$service_name
)
->
get
(
$this
->
entityManager
->
getDefinition
(
$entity_type_id
),
$conjunction
);
}
...
...
@@ -65,7 +65,7 @@ public function get($entity_type_id, $conjunction = 'AND') {
* The aggregated query object that can query the given entity type.
*/
public
function
getAggregate
(
$entity_type_id
,
$conjunction
=
'AND'
)
{
$service_name
=
$this
->
entityManager
->
getStorage
(
$entity_type_id
)
->
getQueryService
n
ame
();
$service_name
=
$this
->
entityManager
->
getStorage
(
$entity_type_id
)
->
getQueryService
N
ame
();
return
$this
->
container
->
get
(
$service_name
)
->
getAggregate
(
$this
->
entityManager
->
getDefinition
(
$entity_type_id
),
$conjunction
);
}
...
...
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