|
@@ -20,7 +20,7 @@ |
|
|
block discarded – undo |
|
20
|
20
|
$ckeditor_plugin_manager = \Drupal::service('plugin.manager.ckeditor.plugin'); |
|
21
|
21
|
|
|
22
|
22
|
// Get a list of all buttons that are provided by all plugins. |
|
23
|
|
- $button_ids = array_reduce($ckeditor_plugin_manager->getButtons(), function ($result, $item) { |
|
|
23
|
+ $button_ids = array_reduce($ckeditor_plugin_manager->getButtons(), function($result, $item) { |
|
24
|
24
|
return array_merge($result, array_keys($item)); |
|
25
|
25
|
}, []); |
|
26
|
26
|
|
Please login to merge, or discard this patch.