function views_ui_nojs_submit

Same name and namespace in other branches
  1. 11.x core/modules/views_ui/admin.inc \views_ui_nojs_submit()
  2. 10 core/modules/views_ui/admin.inc \views_ui_nojs_submit()
  3. 9 core/modules/views_ui/admin.inc \views_ui_nojs_submit()
  4. 8.9.x core/modules/views_ui/admin.inc \views_ui_nojs_submit()

Non-JavaScript fallback for updating the add view form.

Deprecated

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the noJsSubmit() method.

See also

https://www.drupal.org/node/3566774

File

core/modules/views_ui/admin.inc, line 116

Code

function views_ui_nojs_submit($form, FormStateInterface $form_state) : void {
  @trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \\Drupal\\views\\ViewsFormAjaxHelperTrait trait and call the noJsSubmit() method. See https://www.drupal.org/node/3566774', E_USER_DEPRECATED);
  _views_ui_wrap_views_form_helper_traits()::noJsSubmit($form, $form_state);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.