You are here

public function AuthenticationServers::authenticationServersAvailable in Lightweight Directory Access Protocol (LDAP) 8.4

Authentication servers available.

Return value

bool Available.

File

ldap_authentication/src/AuthenticationServers.php, line 48

Class

AuthenticationServers
Authentication serves.

Namespace

Drupal\ldap_authentication

Code

public function authenticationServersAvailable() : bool {
  if (empty($this
    ->getAvailableAuthenticationServers())) {
    return FALSE;
  }
  return TRUE;
}