You are here

public function AuditLogEventInterface::getPreviousState in Audit Log 8

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

Retrieves the original state of the object before the event occurred.

Return value

string The name of the object state such as "published" or "active".

1 method overrides AuditLogEventInterface::getPreviousState()
AuditLogEvent::getPreviousState in src/AuditLogEvent.php
Retrieves the original state of the object before the event occurred.

File

src/AuditLogEventInterface.php, line 150

Class

AuditLogEventInterface
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function getPreviousState();