You are here

public static function ShieldSettingsForm::ajaxCallback in Shield 8

Ajax callback for the credential dependent configuration options.

Return value

array The form element containing the configuration options.

File

src/Form/ShieldSettingsForm.php, line 242

Class

ShieldSettingsForm
Configure site information settings for this site.

Namespace

Drupal\shield\Form

Code

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