Problem/Motivation
Coming from #3568144: Convert editor_filter_xss() to a element.editor service method
Decide on how to modernize:
- hook_editor_xss_filter_alter() hook can be deprecated.
- Maybe convert \Drupal\editor\EditorXssFilter\Standard to a service that can be swapped?
- Original idea was to create a plugin system https://www.drupal.org/node/2099741
- Dependency injection
- What else?
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3571237
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ben280398 commentedAm working on this. Hope to get a first draft up soon
Comment #5
nicxvan commentedThank you @ben280398 for taking this on.
This should have been postponed, the other issue needs to get in first.
That being said there are a couple of things: In core we follow the https://www.drupal.org/about/core/policies/core-change-policies/bc-policy as outlined here so we wouldn't delete the deprecated functions here just yet.
I would hold off on further changes for this issue until the related issue is resolved first.
Let me know if you have any questions!
Comment #6
ben280398 commentedWhoops, just saw this @nicxvan . Will hold off for now, thanks for the heads up man.
Comment #7
berdirWhat I said in slack:
Comment #8
nicxvan commentedComment #9
godotislateI think this is unblocked now.