Updated: Comment #0
Problem/Motivation
After #2057869: Provide an alias for 'plugin.manager.entity' called 'entity.manager' we have entity.manager as an alias of plugin.manager.entity. #2078847: Clean-up the rest of 'plugin.manager.entity' to 'entity.manager' also tried to replace the service name but due to #2003482: Convert hook_search_info to plugin system we have some more uses of plugin.manager.entity. This is turning in to DrupalWTF. I think contrib can handle this change at this point.
I have reopened #2078847: Clean-up the rest of 'plugin.manager.entity' to 'entity.manager' for clean up.
Proposed resolution
Remove plugin.manager.entity
Remaining tasks
Core committer feedback.
Create patch.
User interface changes
None
API changes
plugin.manager.entity service in replaced by entity.manager
Related Issues
| Comment | File | Size | Author |
|---|---|---|---|
| #26 | drupal_2084279_26.patch | 9.25 KB | herom |
| #15 | interdiff-2084279-13-15.txt | 2.35 KB | herom |
| #13 | entity_manager-2084279-13.patch | 5.98 KB | David Hernández |
| #7 | interdiff.txt | 1.06 KB | andypost |
| #7 | entity_manager-2084279-7.patch | 6.05 KB | andypost |
Comments
Comment #1
damiankloip commentedEvery other plugin follows the plugin.manager.* format, so I don't think removing it makes sense.
Comment #2
andypostMaybe just and some docs about suggested service name to use somewhere?
Comment #3
yched commentedI don't want to seem like an old record, but entity types are not plugins :-)
So +1 on this.
Comment #4
dawehnerThere we go.
Comment #6
andypostforum was lost
Comment #7
andypostThis change unnesesary
Comment #9
dawehner#7: entity_manager-2084279-7.patch queued for re-testing.
Comment #10
jibran#7: entity_manager-2084279-7.patch queued for re-testing.
Comment #12
dawehnerRerolling this should be pretty easy.
Comment #13
David Hernández commentedRe-rolled
Comment #15
herom commentedreplace some new cases.
Comment #16
jibran15: entity_manager-2084279-15.patch queued for re-testing.
Comment #18
herom commentedreroll + update.
Comment #19
dawehnerPerfect! I could not find any other usage of the service.
Comment #20
xano18: entity_manager-2084279-18.patch queued for re-testing.
Comment #22
xanoRe-roll.
Comment #23
dawehnerRe-RTBC
Comment #24
berdir22: drupal_2084279_22.patch queued for re-testing.
Comment #26
herom commentedrerolled
Comment #27
dawehnerIt is green!
Comment #28
yched commentedOK, let's add that tag and get this sucker in :-)
(not sure why this has the "Needs committer feedback" though ?)
Comment #29
catchCommitted/pushed to 8.x, needs short change notice. We should have done this in the first place (rip the old manager out) since it's very confusing having a duplicate service.
Comment #30
xjmspelling++
Comment #31
star-szrTagging to write up the change record.
Comment #32
dawehnerhttps://drupal.org/node/2084279
Comment #33
joachim commentedI think that's a link to this issue rather than to a change record!
Comment #34
dawehnerOh I am sorry I was quite sure when I went to the other issue that jibran linked to the issue as a change notice. Sorry.
Comment #35
yesct commentedadding change record tag back.
Comment #36
star-szrAnd active.
Comment #37
lexfunk commentedAssigning to myself to create change notice.
Comment #38
lexfunk commentedCreated change notice: https://drupal.org/node/2181815
Comment #39
star-szrThanks @lexfunk!