You are here

public static function ConfigTestForm::changeSize in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config/tests/config_test/src/ConfigTestForm.php \Drupal\config_test\ConfigTestForm::changeSize()
  2. 9 core/modules/config/tests/config_test/src/ConfigTestForm.php \Drupal\config_test\ConfigTestForm::changeSize()

Element submit handler for non-JS testing.

File

core/modules/config/tests/config_test/src/ConfigTestForm.php, line 130

Class

ConfigTestForm
Form controller for the test config edit forms.

Namespace

Drupal\config_test

Code

public static function changeSize(array $form, FormStateInterface $form_state) {
  $form_state
    ->setRebuild();
}