You are here

public function LoginRedirectPerRole::getLoginConfig in Login And Logout Redirect Per Role 8

Return login configuration.

Return value

array Login configuration on success or an empty array otherwise.

Overrides LoginRedirectPerRoleInterface::getLoginConfig

File

src/LoginRedirectPerRole.php, line 130

Class

LoginRedirectPerRole
Login And Logout Redirect Per Role helper service.

Namespace

Drupal\login_redirect_per_role

Code

public function getLoginConfig() {
  return $this
    ->getConfig(LoginRedirectPerRoleInterface::CONFIG_KEY_LOGIN);
}