\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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers created an issue. See original summary.

Wim Leers’s picture

Status: Active » Needs review
FileSize
1.54 KB
thpoul’s picture

Status: Needs review » Reviewed & tested by the community

Thank you! Patch looks great and is a nice DX change :) RTBCing

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: 2696771-2.patch, failed testing.

Wim Leers’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
1.6 KB

  • catch committed 841be6b on 8.2.x
    Issue #2696771 by Wim Leers, thpoul: Minor clean-up of \Drupal\ckeditor\...

  • catch committed b5a6df6 on 8.1.x
    Issue #2696771 by Wim Leers, thpoul: Minor clean-up of \Drupal\ckeditor\...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!

Wim Leers’s picture

Yay, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.