You are here

public function AuditLogEvent::setRequestTime in Audit Log 8.2

Same name and namespace in other branches
  1. 8 src/AuditLogEvent.php \Drupal\audit_log\AuditLogEvent::setRequestTime()

Sets the timestamp for the event request.

Parameters

int $request_time: The timestamp of the request.

Return value

\Drupal\audit_log\AuditLogEventInterface The current instance of the object.

Overrides AuditLogEventInterface::setRequestTime

File

src/AuditLogEvent.php, line 129

Class

AuditLogEvent
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function setRequestTime($request_time) {
  $this->requestTime = $request_time;
  return $this;
}