You are here

public function AuditLogEvent::getEventType in Audit Log 8

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

Retrieves the type of event that was triggered.

Return value

string The type of event such as "insert", "update", "delete".

Overrides AuditLogEventInterface::getEventType

File

src/AuditLogEvent.php, line 165

Class

AuditLogEvent
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function getEventType() {
  return $this->eventType;
}