You are here

public function EntityBaseFieldInfoEvent::__construct 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::__construct()

EntityBaseFieldInfoEvent constructor.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entityType: The entity type.

File

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

Class

EntityBaseFieldInfoEvent
Class EntityBaseFieldInfoEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

public function __construct(EntityTypeInterface $entityType) {
  $this->entityType = $entityType;
}