public function KeycloakRoleMatcher::isEnabled in Keycloak OpenID Connect 8
Whether Keycloak groups to Drupal roles synchronization is enabled.
Return value
bool TRUE, if the synchronization is enabled, FALSE otherwise.
File
- src/
Service/ KeycloakRoleMatcher.php, line 66
Class
- KeycloakRoleMatcher
- Role matcher service.
Namespace
Drupal\keycloak\ServiceCode
public function isEnabled() {
return $this->config
->get('enabled') && $this->config
->get('settings.keycloak_groups.enabled');
}