Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
5501be94
Commit
5501be94
authored
May 29, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002418
by Psikik: Rename Views method can_group() to canGroup().
parent
f6307dd0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
...lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
+1
-1
core/modules/views/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php
...s/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php
+1
-1
core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/RearrangeFilter.php
...iews_ui/lib/Drupal/views_ui/Form/Ajax/RearrangeFilter.php
+1
-1
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
View file @
5501be94
...
...
@@ -1429,7 +1429,7 @@ public function query() {
*
* @return bool
*/
function
can
_g
roup
()
{
public
function
can
G
roup
()
{
return
TRUE
;
}
...
...
core/modules/views/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php
View file @
5501be94
...
...
@@ -59,6 +59,6 @@ public function adminLabel($short = FALSE) {
return
$this
->
getField
(
parent
::
adminLabel
(
$short
));
}
function
can
_g
roup
()
{
return
FALSE
;
}
public
function
can
G
roup
()
{
return
FALSE
;
}
}
core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/RearrangeFilter.php
View file @
5501be94
...
...
@@ -142,7 +142,7 @@ public function buildForm(array $form, array &$form_state) {
}
$handler
=
$display
->
getHandler
(
$type
,
$id
);
if
(
$grouping
&&
$handler
&&
!
$handler
->
can
_g
roup
())
{
if
(
$grouping
&&
$handler
&&
!
$handler
->
can
G
roup
())
{
$field
[
'group'
]
=
'ungroupable'
;
}
...
...
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