public function LoggingConfigForm::setChannels in Purge 8.3
File
- modules/
purge_ui/ src/ Form/ LoggingConfigForm.php, line 103
Class
- LoggingConfigForm
- Configure logging behavior.
Namespace
Drupal\purge_ui\FormCode
public function setChannels(array &$form, FormStateInterface $form_state) {
$response = new AjaxResponse();
$response
->addCommand(new CloseModalDialogCommand());
if (self::submitForm($form, $form_state)) {
$response
->addCommand(new ReloadConfigFormCommand('edit-logging'));
}
return $response;
}