Problem/Motivation
After #2233157: Make the comment entity_id be a reference field there's no more need in CommentManager::getParentEntityUri() because developers could use ER field for that.
Proposed resolution
get rid of CommentManagerInterface::getParentEntityUri()
Remaining tasks
-
User interface changes
-
API changes
removal of CommentManagerInterface::getParentEntityUri()
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2245001-cm-cleanup-4.patch | 4.99 KB | andypost |
| #4 | interdiff.txt | 545 bytes | andypost |
| #1 | 2245001-cm-cleanup-1.patch | 4.93 KB | andypost |
Comments
Comment #1
andypostPatch also cleans up 2 outdated @todos
Comment #2
jibranNice clean up thanks for the patch.
Comment #3
tim.plunkettI have no idea what this line does. Before it was more semantic, this now needs an inline comment about getting the parent entity (assuming that's what it does?!)
Comment #4
andypostSuppose that's good enough comment, that we use all over comment module to describe "entity_id" field which is an entity reference now
Comment #5
larowlanlooks good
Comment #6
catchCommitted/pushed to 8.x, thanks!
Comment #9
gisleOfficial tag is "API clean-up" - https://www.drupal.org/node/1207020