You are here

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\Event

Code

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