You are here

public function AuditLogEvent::getCurrentState in Audit Log 8.2

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

Retrieves the new state of the object after the event occurred.

Return value

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

Overrides AuditLogEventInterface::getCurrentState

File

src/AuditLogEvent.php, line 179

Class

AuditLogEvent
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function getCurrentState() {
  return $this->currentState;
}