public function LoginRedirectPerRoleInterface::setLogoutDestination in Login And Logout Redirect Per Role 8
Set Logout destination parameter to do redirect.
Parameters
\Drupal\Core\Session\AccountInterface|null $account: User account to set destination for.
1 method overrides LoginRedirectPerRoleInterface::setLogoutDestination()
- LoginRedirectPerRole::setLogoutDestination in src/
LoginRedirectPerRole.php - Set Logout destination parameter to do redirect.
File
- src/
LoginRedirectPerRoleInterface.php, line 60
Class
- LoginRedirectPerRoleInterface
- Interface defining Login And Logout Redirect Per Role helper service.
Namespace
Drupal\login_redirect_per_roleCode
public function setLogoutDestination(AccountInterface $account = NULL);