Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 May 2014 at 22:03 UTC
Updated:
29 Jul 2014 at 23:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkettHow about a trait?
Comment #2
berdirThat doesn't work, this is all part of the postSave()/postDelete() call chain, we can't do that in a trait. And helper methods would be fairly useless for that, we're talking about 1-3 lines of code for each case, it's nothing complicated, just something that's easily forgotten... Vocabulary is missing delete for example.
Comment #3
larowlanEntity types that
whatwant to use this base class must use bundle_of in their annotation to specifyforwhich entity type they are providing bundles fordupes
Other than that, RTBC
Comment #4
berdirYeah, I it was late last night :)
Comment #5
larowlanI still think the extra 'for' here isn't needed but meh
rtbc if green
Comment #6
andypostnice clean up
Comment #7
catchCommitted/pushed to 8.x, thanks!