Issue #2003506 by baldwinlouie, Dan Reinders: Rename Views method group_form() to groupForm().
parent
6be4fdb3c8
commit
4b23474b69
|
@ -733,7 +733,7 @@ abstract class FilterPluginBase extends HandlerBase {
|
||||||
* Build a form containing a group of operator | values to apply as a
|
* Build a form containing a group of operator | values to apply as a
|
||||||
* single filter.
|
* single filter.
|
||||||
*/
|
*/
|
||||||
function group_form(&$form, &$form_state) {
|
public function groupForm(&$form, &$form_state) {
|
||||||
if (!empty($this->options['group_info']['optional']) && !$this->multipleExposedInput()) {
|
if (!empty($this->options['group_info']['optional']) && !$this->multipleExposedInput()) {
|
||||||
|
|
||||||
$old_any = $this->options['group_info']['widget'] == 'select' ? '<Any>' : '<Any>';
|
$old_any = $this->options['group_info']['widget'] == 'select' ? '<Any>' : '<Any>';
|
||||||
|
|
|
@ -1396,7 +1396,7 @@ function views_exposed_form($form, &$form_state) {
|
||||||
// When an user choose an option the selected value is split
|
// When an user choose an option the selected value is split
|
||||||
// into the operator and value that the item represents.
|
// into the operator and value that the item represents.
|
||||||
if ($handler->isAGroup()) {
|
if ($handler->isAGroup()) {
|
||||||
$handler->group_form($form, $form_state);
|
$handler->groupForm($form, $form_state);
|
||||||
$id = $handler->options['group_info']['identifier'];
|
$id = $handler->options['group_info']['identifier'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue