You are here

public function EntityBaseFieldInfoEvent::getEntityType in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/core_event_dispatcher/src/Event/Entity/EntityBaseFieldInfoEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityBaseFieldInfoEvent::getEntityType()

Get the entity type.

Return value

\Drupal\Core\Entity\EntityTypeInterface The entity type.

File

modules/core_event_dispatcher/src/Event/Entity/EntityBaseFieldInfoEvent.php, line 51

Class

EntityBaseFieldInfoEvent
Class EntityBaseFieldInfoEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

public function getEntityType() : EntityTypeInterface {
  return $this->entityType;
}