public function AccessDeniedSubscriber::__construct in SAML Authentication 8.3
Same name and namespace in other branches
- 8.2 src/EventSubscriber/AccessDeniedSubscriber.php \Drupal\samlauth\EventSubscriber\AccessDeniedSubscriber::__construct()
- 4.x src/EventSubscriber/AccessDeniedSubscriber.php \Drupal\samlauth\EventSubscriber\AccessDeniedSubscriber::__construct()
Constructs a new redirect subscriber.
Parameters
\Drupal\Core\Session\AccountInterface $account: The current user.
File
- src/
EventSubscriber/ AccessDeniedSubscriber.php, line 45
Class
- AccessDeniedSubscriber
- Exception subscriber intercepting various "access denied" situations.
Namespace
Drupal\samlauth\EventSubscriberCode
public function __construct(AccountInterface $account) {
$this->account = $account;
}