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.
\Drupal\ckeditor\Plugin\CKEditorPlugin\Internal::getConfig()
duplicates logic from \Drupal\ckeditor\CKEditorPluginManager::getEnabledButtons()
. We should just call that instead, rather than maintaining the same logic in two places.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2696771-5.patch | 1.6 KB | Wim Leers |
Comments
Comment #2
Wim LeersComment #3
thpoul CreditAttribution: thpoul at Pixual commentedThank you! Patch looks great and is a nice DX change :) RTBCing
Comment #5
Wim LeersConflicted with #2696557: 404 error for CKEditor config.js file when using text format without buttons from \Drupal\ckeditor\Plugin\CKEditorPlugin\Internal. Trivial conflict to resolve.
Comment #8
catchCommitted/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!
Comment #9
Wim LeersYay, thanks!