public function Keycloak::rulesAjaxCallback in Keycloak OpenID Connect 8
Ajax callback for a user group mapping rules table refresh.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array Form builder array fragment for the user group mapping rules table.
File
- src/
Plugin/ OpenIDConnectClient/ Keycloak.php, line 447
Class
- Keycloak
- OpenID Connect client for Keycloak.
Namespace
Drupal\keycloak\Plugin\OpenIDConnectClientCode
public function rulesAjaxCallback(array &$form, FormStateInterface $form_state) {
return $form['clients']['keycloak']['settings']['keycloak_groups']['rules'];
}