You are here

public function FieldStorageSubscriber::onEntityType in Dynamic Entity Reference 8.2

Handle an entity type event.

Parameters

\Drupal\Core\Entity\EntityTypeEvent $event: The event to process.

File

src/EventSubscriber/FieldStorageSubscriber.php, line 103

Class

FieldStorageSubscriber
Hands off field storage events to the integer column handler.

Namespace

Drupal\dynamic_entity_reference\EventSubscriber

Code

public function onEntityType(EntityTypeEvent $event) {
  $this
    ->handleEntityType($event
    ->getEntityType()
    ->id());
}