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
6d411619
Commit
6d411619
authored
May 29, 2013
by
alexpott
Browse files
Issue
#2002338
by schiavone, elvis2: Rename Views method add_tag() to addTag().
parent
365637ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
View file @
6d411619
...
...
@@ -1055,7 +1055,7 @@ function get_field_alias($table_alias, $field) {
*
* @see SelectQuery::addTag()
*/
function
add
_t
ag
(
$tag
)
{
public
function
add
T
ag
(
$tag
)
{
$this
->
tags
[]
=
$tag
;
}
...
...
core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php
View file @
6d411619
...
...
@@ -140,7 +140,7 @@ public function query() {
// Add access tags if the base table provide it.
if
(
empty
(
$this
->
query
->
options
[
'disable_sql_rewrite'
])
&&
isset
(
$table_data
[
'table'
][
'base'
][
'access query tag'
]))
{
$access_tag
=
$table_data
[
'table'
][
'base'
][
'access query tag'
];
$this
->
query
->
add
_t
ag
(
$access_tag
);
$this
->
query
->
add
T
ag
(
$access_tag
);
}
}
...
...
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