function FormTestStoragePageCacheForm::form_test_storage_page_cache_rebuild

Same name in other branches
  1. 9 core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php \Drupal\form_test\Form\FormTestStoragePageCacheForm::form_test_storage_page_cache_rebuild()
  2. 10 core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php \Drupal\form_test\Form\FormTestStoragePageCacheForm::form_test_storage_page_cache_rebuild()
  3. 11.x core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php \Drupal\form_test\Form\FormTestStoragePageCacheForm::form_test_storage_page_cache_rebuild()

Form submit callback: Rebuild the form and continue.

File

core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php, line 67

Class

FormTestStoragePageCacheForm
Form to test page cache storage.

Namespace

Drupal\form_test\Form

Code

public function form_test_storage_page_cache_rebuild($form, FormStateInterface $form_state) {
    $form_state->setRebuild();
}

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