http://cgit.drupalcode.org/hook_event_dispatcher/tree/src/Event/Entity/E...

$this->entityType is set as $entity_type_id, and $event->getEntityTypeId returns null.

CommentFileSizeAuthor
#2 fix-load-event-entity-id-2879371-2.patch495 bytesmarncz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

HnLn created an issue. See original summary.

marncz’s picture

marncz’s picture

Status: Active » Needs review
HnLn’s picture

For the moment I'm not using the event anymore, but code looks good :-).

HnLn’s picture

Status: Needs review » Reviewed & tested by the community
pdenooijer’s picture

Good change :)!

  • pdenooijer committed 877d3b3 on 8.x-1.x authored by marncz
    Issue #2879371 by marncz: The entity load event user the wrong internal...
pdenooijer’s picture

Assigned: Unassigned » pdenooijer
Status: Reviewed & tested by the community » Fixed

Thnx :)!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.