You are here

public static function SettingsForm::ajaxCallback in Swift Mailer 8

Same name and namespace in other branches
  1. 8.2 src/Form/SettingsForm.php \Drupal\swiftmailer\Form\SettingsForm::ajaxCallback()

Ajax callback for the transport dependent configuration options.

Return value

array The form element containing the configuration options.

File

src/Form/SettingsForm.php, line 362

Class

SettingsForm
Swift Mailer settings form.

Namespace

Drupal\swiftmailer\Form

Code

public static function ajaxCallback($form, FormStateInterface $form_state) {
  return $form['transport']['configuration'];
}