constant AccountEvents::SET_USER in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Session/AccountEvents.php \Drupal\Core\Session\AccountEvents::SET_USER
Name of the event fired when the current user is set.
This event allows modules to perform an action whenever the current user is set. The event listener receives an \Drupal\Core\Session\AccountSetEvent instance.
See also
\Drupal\Core\Session\AccountSetEvent
\Drupal\Core\Session\AccountProxyInterface::setAccount()
Related topics
File
- core/
lib/ Drupal/ Core/ Session/ AccountEvents.php, line 26
Class
- AccountEvents
- Defines events for the account system.
Namespace
Drupal\Core\SessionCode
const SET_USER = 'account.set';