public function CdfAttributesEvent::getEntity in Acquia Content Hub 8.2
Get the entity being processed.
Return value
\Drupal\Core\Entity\EntityInterface The entity being processed.
File
- src/
Event/ CdfAttributesEvent.php, line 68
Class
- CdfAttributesEvent
- The event which adds custom CDF attributes to the CDF objects.
Namespace
Drupal\acquia_contenthub\EventCode
public function getEntity() : EntityInterface {
return $this->entity;
}