Needs work
Project:
Drupal core
Version:
main
Component:
plugin system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Dec 2014 at 05:21 UTC
Updated:
16 Nov 2022 at 05:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkettComment #2
xanoRe-roll.
Comment #3
fagoThanks, makes a lot of sense - the interface is really missing. Introducing it now should be fine also, as all existing code referring to the ExecutableInterface will continue to work.
Comment #4
jibranCan we add beta eval quickly here?
Comment #5
webchickComment #7
fagoComment #8
cilefen commentedI added a beta eval. Having done that, I believe this should be postponed to the next release.
Comment #9
xanoThis patch does not break anything, but reduces fragility. Disruption is minimal, but we can completely eliminate any disruption by removing the type hint changes from the patch.
I'd like to add this at the earliest possible moment, for increased DX, documentation, and testability.
Comment #12
cilefen commentedRerolled #2.
Comment #15
xanoComment #17
xanoRe-roll.
Comment #24
jhedstromThis bit can be removed as these file comments are no longer needed.
Everything else looks good.
Comment #25
Vidushi Mehta commentedAdded a rerolled patch as the previous patch does not apply on current version.
Comment #27
xanoRe-roll, and this implements the feedback from #24.
Comment #28
longwaveMakes more sense now, patch looks good.
Comment #29
alexpottThis is a BC breaking change. We need to leave the typehint alone and trigger a silenced deprecation if $manager does not implement
ConditionManagerInterfaceComment #30
xanoShould we enforce this type in a similar fashion, by triggering an error?
Comment #31
xanoThis implements @alexpott's feedback from #29, and adds a few small clean-ups.
Comment #32
xanoLet's undo this docs change that isn't actually enforced (we keep
BlockFormas a proof-of-concept implementation of the change).Comment #33
longwaveI think this should follow the standard format, ie. "Implementing ExecutableManagerInterface in condition managers is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use ConditionManagerInterface instead. See http://drupal.org/node/xxx" - we also need a change notice for this.
Comment #36
jhedstromSetting to NW for #33.
Comment #37
tim.plunkettNow that 8.8 is out, it's going to be deprecated in 9.1 and removed in 10.0
Comment #43
andypostre-roll for 10.1
Comment #44
anchal_gupta commentedFixed CS error