Commit 5501be94 authored by alexpott's avatar alexpott

Issue #2002418 by Psikik: Rename Views method can_group() to canGroup().

parent f6307dd0
......@@ -1429,7 +1429,7 @@ public function query() {
*
* @return bool
*/
function can_group() {
public function canGroup() {
return TRUE;
}
......
......@@ -59,6 +59,6 @@ public function adminLabel($short = FALSE) {
return $this->getField(parent::adminLabel($short));
}
function can_group() { return FALSE; }
public function canGroup() { return FALSE; }
}
......@@ -142,7 +142,7 @@ public function buildForm(array $form, array &$form_state) {
}
$handler = $display->getHandler($type, $id);
if ($grouping && $handler && !$handler->can_group()) {
if ($grouping && $handler && !$handler->canGroup()) {
$field['group'] = 'ungroupable';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment