You are here

public function SerializeCdfEntityFieldEvent::getEntity in Acquia Content Hub 8.2

The entity to which the field belongs.

Return value

\Drupal\Core\Entity\ContentEntityInterface Entity.

File

src/Event/SerializeCdfEntityFieldEvent.php, line 82

Class

SerializeCdfEntityFieldEvent
Event fired when serializing individual entity fields for syndication.

Namespace

Drupal\acquia_contenthub\Event

Code

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