public function AuditLogEvent::getUser in Audit Log 8
Same name and namespace in other branches
- 8.2 src/AuditLogEvent.php \Drupal\audit_log\AuditLogEvent::getUser()
Retrieves the user object for the user that triggered the event.
Return value
\Drupal\Core\Session\AccountInterface The user object for the user that triggered the event.
Overrides AuditLogEventInterface::getUser
File
- src/
AuditLogEvent.php, line 137
Class
- AuditLogEvent
- Represents a single auditable event for logging.
Namespace
Drupal\audit_logCode
public function getUser() {
return $this->user;
}