function FormTestMachineNameValidationForm::buildAjaxSnackConfigureForm

Handles changes to the selected snack configuration.

File

core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php, line 118

Class

FormTestMachineNameValidationForm
Form to test whether machine name validation works with ajax requests.

Namespace

Drupal\form_test\Form

Code

public function buildAjaxSnackConfigureForm(array $form, FormStateInterface $form_state) {
  return $form['snack_configs'];
}

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