Skip to content
Snippets Groups Projects
Commit 6295bdf7 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2002432 by sillygwailo: Rename Views method convert_exposed_input() to...

Issue #2002432 by sillygwailo: Rename Views method convert_exposed_input() to convertExposedInput().
parent c7d2aab2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1213,7 +1213,7 @@ public function exposedInfo() {
* checkboxes widget, and this function will be called for each item
* choosed in the checkboxes.
*/
function convert_exposed_input(&$input, $selected_group_id = NULL) {
public function convertExposedInput(&$input, $selected_group_id = NULL) {
if ($this->isAGroup()) {
// If it is already defined the selected group, use it. Only valid
// when the filter uses checkboxes for widget.
......
......@@ -1118,7 +1118,7 @@ public function _build($key) {
if (!empty($this->exposed_data)) {
$converted = FALSE;
if ($handlers[$id]->isAGroup()) {
$converted = $handlers[$id]->convert_exposed_input($this->exposed_data, $group_id);
$converted = $handlers[$id]->convertExposedInput($this->exposed_data, $group_id);
$handlers[$id]->store_group_input($this->exposed_data, $converted);
if (!$converted) {
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment