Problem/Motivation
Condition plugins were added to core before PluginFormInterface existed.
Its implementation of getFormId() is hacky and unnecessary.
Conditions have no real need to be configured on their own, the configuration has to be stored somewhere else.
Additionally, conditions are configurable, and should implement ConfigurablePluginInterface accordingly.
Proposed resolution
Update the interfaces
Remaining tasks
N/A
User interface changes
N/A
API changes
ConditionInterface implements PluginFormInterface instead of FormInterface, and also ConfigurablePluginInterface.
Comments
Comment #1
tim.plunkettComment #3
tim.plunkettAh, there's that test coverage!
Comment #4
eclipsegc commentedThis seems straight forward and obvious.
Eclipse
Comment #5
tim.plunkettHmm, as much as it pains me to expand the scope, I'd rather do that than have another tiny issue.
Comment #6
jibranBack to RTBC.
Comment #7
webchickCommitted and pushed to 8.x. Thanks!
Comment #9
tim.plunkett