I can't find a CR for this, but we have:

> function flag_entity_view(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode, $langcode) {

and api.d.org says:

> hook_entity_view(array &$build, \Drupal\Core\Entity\EntityInterface $entity, \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display, $view_mode)

Comments

joachim created an issue. See original summary.

joachim’s picture

Status: Active » Needs review
StatusFileSize
new598 bytes
joachim’s picture

Status: Needs review » Fixed

CR is: https://www.drupal.org/node/2581003

Committing this, as the new CI tests pass. The old test system needs an admin to force it to test a patch when the branch is failing.

  • joachim committed 05f8227 on 8.x-4.x
    Issue #2581369 by joachim: Updated for change to hook_entity_view()...

Status: Fixed » Needs work

The last submitted patch, 2: 2581369.flag_.hook_entity_view-tests-fail.patch, failed testing.

joachim’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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