public function AuditLogEvent::getEntity in Audit Log 8
Same name and namespace in other branches
- 8.2 src/AuditLogEvent.php \Drupal\audit_log\AuditLogEvent::getEntity()
Retrieves the entity that was modified.
Return value
\Drupal\Core\Entity\EntityInterface The entity that was modified.
Overrides AuditLogEventInterface::getEntity
File
- src/
AuditLogEvent.php, line 144
Class
- AuditLogEvent
- Represents a single auditable event for logging.
Namespace
Drupal\audit_logCode
public function getEntity() {
return $this->entity;
}