Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Remove EditorEntity aliasing in core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
use Drupal\editor\Entity\Editor as EditorEntity;
Comment | File | Size | Author |
---|---|---|---|
#8 | interdiff-2668828-2-8.txt | 2.86 KB | heykarthikwithu |
#8 | 2668828-8.patch | 5.49 KB | heykarthikwithu |
#2 | 2668828-2.patch | 2.33 KB | heykarthikwithu |
Comments
Comment #2
heykarthikwithuComment #3
naveenvalechaThis makes sense to in. RTBC if green
Thanks!
#2641528: Replace deprecated usage of entity_create('editor') with a direct call to Editor::create() would needs reroll when this issue went in.
Comment #4
Wim LeersHah!
Note that #1992744: Add a dedicated @Editor plugin annotation introduced this, because we used to also have this:
But for a long time, the need to import those classes has not been necessary anymore. So we can indeed also remove this.
It feels nice to be able to remove this oddity. Thank you, much appreciated!
Comment #5
Wim LeersPlease also include the changes in #2668838: Remove EditorEntity aliasing in Drupal\editor_test\Plugin\Editor\TRexEditor.php and #2668840: Remove EditorEntity aliasing in Drupal\editor_test\Plugin\Editor\UnicornEditor.php.
Comment #6
heykarthikwithuworking on this.
Comment #7
Wim LeersThanks!
Comment #8
heykarthikwithuComment #9
Wim LeersThanks!
Comment #10
naveenvalechaYay!
RTBC +1
This needs a better title now
Comment #11
heykarthikwithuComment #12
Wim LeersComment #13
naveenvalechaComment #15
catchCommitted/pushed to 8.1.x, thanks!