You are here

public function AuditLogEventInterface::setEventType in Audit Log 8.2

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

Stores the type of event being reported.

Parameters

string $event_type: The type of event being reported. Example: "insert", "update", "delete".

Return value

AuditLogEventInterface The current instance of the object.

1 method overrides AuditLogEventInterface::setEventType()
AuditLogEvent::setEventType in src/AuditLogEvent.php
Stores the type of event being reported.

File

src/AuditLogEventInterface.php, line 69

Class

AuditLogEventInterface
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function setEventType($event_type);