function ConfigTestForm::updateSize

Same name in other branches
  1. 9 core/modules/config/tests/config_test/src/ConfigTestForm.php \Drupal\config_test\ConfigTestForm::updateSize()
  2. 8.9.x core/modules/config/tests/config_test/src/ConfigTestForm.php \Drupal\config_test\ConfigTestForm::updateSize()
  3. 11.x core/modules/config/tests/config_test/src/ConfigTestForm.php \Drupal\config_test\ConfigTestForm::updateSize()

Ajax callback for the size selection element.

File

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

Class

ConfigTestForm
Form controller for the test config edit forms.

Namespace

Drupal\config_test

Code

public static function updateSize(array $form, FormStateInterface $form_state) {
    return $form['size_wrapper'];
}

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