You are here

public function ConfigForm::ajaxCallback in JSON Web Token Authentication (JWT) 8

Same name and namespace in other branches
  1. 8.0 src/Form/ConfigForm.php \Drupal\jwt\Form\ConfigForm::ajaxCallback()

AJAX Function callback.

Parameters

array $form: Drupal form array.

\Drupal\Core\Form\FormStateInterface $form_state: Drupal formstate object.

Return value

mixed Updated AJAXed form.

File

src/Form/ConfigForm.php, line 91

Class

ConfigForm
Class ConfigForm.

Namespace

Drupal\jwt\Form

Code

public function ajaxCallback(array &$form, FormStateInterface $form_state) {
  return $form['key-container'];
}