You are here

public function AuditLogEvent::getEntity in Audit Log 8

Same name and namespace in other branches
  1. 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_log

Code

public function getEntity() {
  return $this->entity;
}