function AccountSetEvent::__construct
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Session/AccountSetEvent.php \Drupal\Core\Session\AccountSetEvent::__construct()
- 10 core/lib/Drupal/Core/Session/AccountSetEvent.php \Drupal\Core\Session\AccountSetEvent::__construct()
- 11.x core/lib/Drupal/Core/Session/AccountSetEvent.php \Drupal\Core\Session\AccountSetEvent::__construct()
AccountSetEvent constructor.
Parameters
\Drupal\Core\Session\AccountInterface $account: The set account.
File
-
core/
lib/ Drupal/ Core/ Session/ AccountSetEvent.php, line 25
Class
- AccountSetEvent
- Event fired when an account is set for the current session.
Namespace
Drupal\Core\SessionCode
public function __construct(AccountInterface $account) {
$this->account = $account;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.