You are here

public function AuthorizationProfileForm::mappingsAjaxCallback in Authorization 8

Ajax Callback for the form.

Parameters

array $form: The form being passed in.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Return value

array The form element we are changing via ajax

File

src/Form/AuthorizationProfileForm.php, line 699

Class

AuthorizationProfileForm
Authorization profile form.

Namespace

Drupal\authorization\Form

Code

public function mappingsAjaxCallback(array &$form, FormStateInterface $form_state) : array {
  return $form['mappings'];
}