public function EntityImportEvent::getEntity in Acquia Content Hub 8.2
Get the entity that was imported.
Return value
\Drupal\Core\Entity\EntityInterface The entity.
File
- src/
Event/ EntityImportEvent.php, line 54
Class
- EntityImportEvent
- An event for invoking post-entity-save operations.
Namespace
Drupal\acquia_contenthub\EventCode
public function getEntity() {
return $this->entity;
}