function ViewsFormAjaxHelperTrait::noJsSubmit
Same name and namespace in other branches
- 11.x core/modules/views/src/ViewsFormAjaxHelperTrait.php \Drupal\views\ViewsFormAjaxHelperTrait::noJsSubmit()
Provides a callback for non-JavaScript submit.
Parameters
array $form: The form render array.
\Drupal\Core\Form\FormStateInterface $formState: The current state of the form.
File
-
core/
modules/ views/ src/ ViewsFormAjaxHelperTrait.php, line 241
Class
- ViewsFormAjaxHelperTrait
- Provides reusable code to be shared by Views Ajax forms.
Namespace
Drupal\viewsCode
public static function noJsSubmit(array $form, FormStateInterface $formState) : void {
$formState->setRebuild();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.