function views_ui_build_form_url
Same name and namespace in other branches
- 11.x core/modules/views_ui/admin.inc \views_ui_build_form_url()
- 10 core/modules/views_ui/admin.inc \views_ui_build_form_url()
- 9 core/modules/views_ui/admin.inc \views_ui_build_form_url()
- 8.9.x core/modules/views_ui/admin.inc \views_ui_build_form_url()
Creates the menu path for a standard AJAX form given the form state.
Return value
\Drupal\Core\Url The URL object pointing to the form URL.
Deprecated
in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \Drupal\views\ViewsFormHelperTrait trait and call the buildFormUrl() method.
See also
https://www.drupal.org/node/3566774
File
-
core/
modules/ views_ui/ admin.inc, line 149
Code
function views_ui_build_form_url(FormStateInterface $form_state) {
@trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \\Drupal\\views\\ViewsFormHelperTrait trait and call the buildFormUrl() method. See https://www.drupal.org/node/3566774', E_USER_DEPRECATED);
return _views_ui_wrap_views_form_helper_traits()->buildFormUrlWrapper($form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.