Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2012 at 14:58 UTC
Updated:
29 Jul 2014 at 20:20 UTC
Jump to comment: Most recent
Comments
Comment #1
geek-merlinwow, that's complex dependencies. is there a dataflow diagram for this somewhere? ;-)
Comment #2
tim.plunkettI opened #1441488: Don't call entity_get_info() from inside hook_field_extra_fields() because this issue seemed to explain the problem, but I can't really track it down.
And of the three code examples above, none are explicitly about hook_field_extra_fields().
Comment #3
geek-merlina hint: looks like the uuid example just uses "basic entity info" (just from hooks) which might be gathered by calling hook_entity_info & ~alter but no field hooks.
Comment #4
geek-merlinthought a while about this.
i don't think drupal is broken.
it's just that the system is so complex it's hard to understand the dataflow.
do we need to refactor it? not to tell without a thorough understanding.
posted one approach to gather this understanding:
#1450612: Dataflow browser for hooks system
maybe there are more.
Comment #5
sunComment #6
plachThis is being actively addressed in #2183231: Make ContentEntityDatabaseStorage generate static database schemas for content entities.