public function LoginRedirectPerRole::getLogoutRedirectUrl in Login And Logout Redirect Per Role 8
Return URL to redirect on user logout.
Return value
\Drupal\Core\Url|null URL to redirect to on success or NULL otherwise.
Overrides LoginRedirectPerRoleInterface::getLogoutRedirectUrl
File
- src/
LoginRedirectPerRole.php, line 109
Class
- LoginRedirectPerRole
- Login And Logout Redirect Per Role helper service.
Namespace
Drupal\login_redirect_per_roleCode
public function getLogoutRedirectUrl() {
return $this
->getRedirectUrl(LoginRedirectPerRoleInterface::CONFIG_KEY_LOGOUT);
}