public function ParseCdfEntityEvent::getEntity in Acquia Content Hub 8.2
Obtains the parsed entity from the CDF.
Return value
\Drupal\Core\Entity\EntityInterface The entity parsed from the CDF.
File
- src/
Event/ ParseCdfEntityEvent.php, line 114
Class
- ParseCdfEntityEvent
- The event fired during importing a CDF into a local entity.
Namespace
Drupal\acquia_contenthub\EventCode
public function getEntity() {
return $this->entity;
}