Issue #2003506 by baldwinlouie, Dan Reinders: Rename Views method group_form() to groupForm().

8.0.x
Alex Pott 2013-06-13 09:18:23 +01:00
parent 6be4fdb3c8
commit 4b23474b69
2 changed files with 2 additions and 2 deletions

View File

@ -733,7 +733,7 @@ abstract class FilterPluginBase extends HandlerBase {
* Build a form containing a group of operator | values to apply as a
* single filter.
*/
function group_form(&$form, &$form_state) {
public function groupForm(&$form, &$form_state) {
if (!empty($this->options['group_info']['optional']) && !$this->multipleExposedInput()) {
$old_any = $this->options['group_info']['widget'] == 'select' ? '<Any>' : '&lt;Any&gt;';

View File

@ -1396,7 +1396,7 @@ function views_exposed_form($form, &$form_state) {
// When an user choose an option the selected value is split
// into the operator and value that the item represents.
if ($handler->isAGroup()) {
$handler->group_form($form, $form_state);
$handler->groupForm($form, $form_state);
$id = $handler->options['group_info']['identifier'];
}
else {