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

Issue #2003236 by kenianbei, zschmid, Dan Reinders: Rename Views method...

Issue #2003236 by kenianbei, zschmid, Dan Reinders: Rename Views method value_submit() to valueSubmit().
parent 5264ddd0
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
......@@ -330,7 +330,7 @@ function validate_term_strings(&$form, $values) {
return $tids;
}
function value_submit($form, &$form_state) {
protected function valueSubmit($form, &$form_state) {
// prevent array_filter from messing up our arrays in parent submit.
}
......
......@@ -141,7 +141,7 @@ function validate_user_strings(&$form, $values) {
return $uids;
}
function value_submit($form, &$form_state) {
protected function valueSubmit($form, &$form_state) {
// prevent array filter from removing our anonymous user.
}
......
......@@ -252,7 +252,7 @@ public function submitOptionsForm(&$form, &$form_state) {
unset($form_state['values']['group_button']); // don't store this.
if (!$this->isAGroup()) {
$this->operatorSubmit($form, $form_state);
$this->value_submit($form, $form_state);
$this->valueSubmit($form, $form_state);
}
if (!empty($this->options['exposed'])) {
$this->submitExposeForm($form, $form_state);
......@@ -338,7 +338,7 @@ protected function valueValidate($form, &$form_state) { }
* Perform any necessary changes to the form values prior to storage.
* There is no need for this function to actually store the data.
*/
function value_submit($form, &$form_state) { }
protected function valueSubmit($form, &$form_state) { }
/**
* Shortcut to display the exposed options form.
......
......@@ -294,7 +294,7 @@ public function acceptExposedInput($input) {
return parent::acceptExposedInput($input);
}
function value_submit($form, &$form_state) {
protected function valueSubmit($form, &$form_state) {
// Drupal's FAPI system automatically puts '0' in for any checkbox that
// was not set, and the key to the checkbox if it is set.
// Unfortunately, this means that if the key to that checkbox is 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment