public function LdapUserMappingBaseForm::mappingsAjaxCallback in Lightweight Directory Access Protocol (LDAP) 8.4
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
- ldap_user/
src/ Form/ LdapUserMappingBaseForm.php, line 363
Class
- LdapUserMappingBaseForm
- Provides the form to configure user configuration and field mapping.
Namespace
Drupal\ldap_user\FormCode
public function mappingsAjaxCallback(array &$form, FormStateInterface $form_state) : array {
return $form['mappings'];
}