public function AuditPreEntityDeleteEvent::getEntity in Acquia Content Hub 8
The entity to be deleted.
Return value
\Drupal\Core\Entity\ContentEntityInterface Entity.
File
- acquia_contenthub_audit/
src/ Event/ AuditPreEntityDeleteEvent.php, line 38
Class
- AuditPreEntityDeleteEvent
- Event fired before deleting an entity.
Namespace
Drupal\acquia_contenthub_audit\EventCode
public function getEntity() {
return $this->entity;
}