Commit 7d311032 authored by alexpott's avatar alexpott

Issue #2002416 by sillygwailo, mari3.14, jeroen12345, jibran: Rename Views...

Issue #2002416 by sillygwailo, mari3.14, jeroen12345, jibran: Rename Views method can_build_group() to canBuildGroup().
parent 689127e7
......@@ -175,7 +175,7 @@ public function canExpose() { return TRUE; }
* Determine if a filter can be converted into a group.
* Only exposed filters with operators available can be converted into groups.
*/
function can_build_group() {
protected function canBuildGroup() {
return $this->isExposed() && (count($this->operatorOptions()) > 0);
}
......@@ -197,14 +197,14 @@ public function buildOptionsForm(&$form, &$form_state) {
if ($this->canExpose()) {
$this->showExposeButton($form, $form_state);
}
if ($this->can_build_group()) {
if ($this->canBuildGroup()) {
$this->show_build_group_button($form, $form_state);
}
$form['clear_markup_start'] = array(
'#markup' => '<div class="clearfix">',
);
if ($this->isAGroup()) {
if ($this->can_build_group()) {
if ($this->canBuildGroup()) {
$form['clear_markup_start'] = array(
'#markup' => '<div class="clearfix">',
);
......
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