You are here

public function AuditLogEventInterface::getUser in Audit Log 8

Same name and namespace in other branches
  1. 8.2 src/AuditLogEventInterface.php \Drupal\audit_log\AuditLogEventInterface::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.

1 method overrides AuditLogEventInterface::getUser()
AuditLogEvent::getUser in src/AuditLogEvent.php
Retrieves the user object for the user that triggered the event.

File

src/AuditLogEventInterface.php, line 110

Class

AuditLogEventInterface
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function getUser();