public function AuditLogEvent::getPreviousState in Audit Log 8
Same name and namespace in other branches
- 8.2 src/AuditLogEvent.php \Drupal\audit_log\AuditLogEvent::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".
Overrides AuditLogEventInterface::getPreviousState
File
- src/
AuditLogEvent.php, line 172
Class
- AuditLogEvent
- Represents a single auditable event for logging.
Namespace
Drupal\audit_logCode
public function getPreviousState() {
return $this->previousState;
}