Best practice is now to directly query the database for bundle info. I ran into this issue when a recent change to Entity reference caused a WSOD in conjunction with my own entity-providing module. I'm sure there are plenty of other issues with the same cause cropping up.

CommentFileSizeAuthor
model_entity_info_alter_fix.patch714 bytesMatthew Davidson
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anybody’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)
Related issues: +#2225895: Remove hook_entity_info_alter

#2225895: Remove hook_entity_info_alter is related, duplicate and seems to be even a bit better solution.