You are here

public function CleanUpStubsEvent::getEntity in Acquia Content Hub 8.2

Get the entity interface.

Return value

\Drupal\Core\Entity\EntityInterface The entity interface for this event.

File

src/Event/CleanUpStubsEvent.php, line 57

Class

CleanUpStubsEvent
Event to clean up stubs after import.

Namespace

Drupal\acquia_contenthub\Event

Code

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