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
b880d8f4
Commit
b880d8f4
authored
May 28, 2013
by
alexpott
Browse files
Issue
#2002280
by elvis2, connork: Rename Views method add_signature() to addSignature().
parent
20d028f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php
View file @
b880d8f4
...
...
@@ -79,7 +79,7 @@ function execute(ViewExecutable $view) { }
* @param view $view
* The view which is executed.
*/
function
add
_s
ignature
(
ViewExecutable
$view
)
{
}
public
function
add
S
ignature
(
ViewExecutable
$view
)
{
}
/**
* Get aggregation info for group by queries.
...
...
core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
View file @
b880d8f4
...
...
@@ -1643,7 +1643,7 @@ function loadEntities(&$results) {
}
}
function
add
_s
ignature
(
ViewExecutable
$view
)
{
public
function
add
S
ignature
(
ViewExecutable
$view
)
{
$view
->
query
->
add_field
(
NULL
,
"'"
.
$view
->
storage
->
id
()
.
':'
.
$view
->
current_display
.
"'"
,
'view_name'
);
}
...
...
core/modules/views/lib/Drupal/views/ViewExecutable.php
View file @
b880d8f4
...
...
@@ -1071,7 +1071,7 @@ public function build($display_id = NULL) {
}
if
(
config
(
'views.settings'
)
->
get
(
'sql_signature'
))
{
$this
->
query
->
add
_s
ignature
(
$this
);
$this
->
query
->
add
S
ignature
(
$this
);
}
// Let modules modify the query just prior to finalizing it.
...
...
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