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
221
Merge Requests
221
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
4547223c
Commit
4547223c
authored
May 29, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002988
by kenianbei, tvlooy: Rename Views method summary_basics() to summaryBasics().
parent
4df1036a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
...Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
+2
-2
core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php
.../views/lib/Drupal/views/Plugin/views/argument/Formula.php
+1
-1
core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php
...iews/lib/Drupal/views/Plugin/views/argument/ManyToOne.php
+1
-1
core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php
...s/views/lib/Drupal/views/Plugin/views/argument/String.php
+1
-1
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
View file @
4547223c
...
@@ -809,7 +809,7 @@ function summary_query() {
...
@@ -809,7 +809,7 @@ function summary_query() {
$this
->
base_alias
=
$this
->
query
->
add_field
(
$this
->
tableAlias
,
$this
->
realField
);
$this
->
base_alias
=
$this
->
query
->
add_field
(
$this
->
tableAlias
,
$this
->
realField
);
$this
->
summary_name_field
();
$this
->
summary_name_field
();
return
$this
->
summary
_b
asics
();
return
$this
->
summary
B
asics
();
}
}
/**
/**
...
@@ -851,7 +851,7 @@ function summary_name_field() {
...
@@ -851,7 +851,7 @@ function summary_name_field() {
* Some basic summary behavior that doesn't need to be repeated as much as
* Some basic summary behavior that doesn't need to be repeated as much as
* code that goes into summary_query()
* code that goes into summary_query()
*/
*/
function
summary_b
asics
(
$count_field
=
TRUE
)
{
public
function
summaryB
asics
(
$count_field
=
TRUE
)
{
// Add the number of nodes counter
// Add the number of nodes counter
$distinct
=
(
$this
->
view
->
display_handler
->
getOption
(
'distinct'
)
&&
empty
(
$this
->
query
->
no_distinct
));
$distinct
=
(
$this
->
view
->
display_handler
->
getOption
(
'distinct'
)
&&
empty
(
$this
->
query
->
no_distinct
));
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php
View file @
4547223c
...
@@ -54,7 +54,7 @@ function summary_query() {
...
@@ -54,7 +54,7 @@ function summary_query() {
$this
->
base_alias
=
$this
->
name_alias
=
$this
->
query
->
add_field
(
NULL
,
$formula
,
$this
->
field
);
$this
->
base_alias
=
$this
->
name_alias
=
$this
->
query
->
add_field
(
NULL
,
$formula
,
$this
->
field
);
$this
->
query
->
set_count_field
(
NULL
,
$formula
,
$this
->
field
);
$this
->
query
->
set_count_field
(
NULL
,
$formula
,
$this
->
field
);
return
$this
->
summary
_b
asics
(
FALSE
);
return
$this
->
summary
B
asics
(
FALSE
);
}
}
/**
/**
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php
View file @
4547223c
...
@@ -181,7 +181,7 @@ function summary_query() {
...
@@ -181,7 +181,7 @@ function summary_query() {
$this
->
summary_name_field
();
$this
->
summary_name_field
();
return
$this
->
summary
_b
asics
();
return
$this
->
summary
B
asics
();
}
}
function
summary_argument
(
$data
)
{
function
summary_argument
(
$data
)
{
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php
View file @
4547223c
...
@@ -167,7 +167,7 @@ function summary_query() {
...
@@ -167,7 +167,7 @@ function summary_query() {
}
}
$this
->
summary_name_field
();
$this
->
summary_name_field
();
return
$this
->
summary
_b
asics
(
FALSE
);
return
$this
->
summary
B
asics
(
FALSE
);
}
}
/**
/**
...
...
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