You are here

public function KeycloakService::isI18nEnabled in Keycloak OpenID Connect 8

Whether Keycloak multi-language support is enabled.

Return value

bool TRUE, if multi-language support is enabled, FALSE otherwise.

Overrides KeycloakServiceInterface::isI18nEnabled

File

src/Service/KeycloakService.php, line 208

Class

KeycloakService
Keycloak service.

Namespace

Drupal\keycloak\Service

Code

public function isI18nEnabled() {
  return $this
    ->isEnabled() && $this->languageManager
    ->isMultilingual() && $this->config
    ->get('settings.keycloak_i18n.enabled');
}