public function AuditLogEventInterface::setCurrentState in Audit Log 8
Same name and namespace in other branches
- 8.2 src/AuditLogEventInterface.php \Drupal\audit_log\AuditLogEventInterface::setCurrentState()
Stores the new state of the object after the event occurred.
Parameters
string $state: The name of the object state such as "published" or "active".
Return value
AuditLogEventInterface The current instance of the object.
1 method overrides AuditLogEventInterface::setCurrentState()
- AuditLogEvent::setCurrentState in src/
AuditLogEvent.php - Stores the new state of the object after the event occurred.
File
- src/
AuditLogEventInterface.php, line 91
Class
- AuditLogEventInterface
- Represents a single auditable event for logging.
Namespace
Drupal\audit_logCode
public function setCurrentState($state);