Commit 24098232 authored by webchick's avatar webchick

Issue #2060715 by legolasbo: Remove Unused local variable () from...

Issue #2060715 by legolasbo: Remove Unused local variable () from /core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/Editor/CKEditor.php.
parent 30202e3f
......@@ -82,7 +82,6 @@ public function getDefaultSettings() {
* {@inheritdoc}
*/
public function settingsForm(array $form, array &$form_state, EditorEntity $editor) {
$module_path = drupal_get_path('module', 'ckeditor');
$ckeditor_settings_toolbar = array(
'#theme' => 'ckeditor_settings_toolbar',
'#editor' => $editor,
......@@ -260,7 +259,7 @@ public function getLibraries(EditorEntity $editor) {
*/
public function buildToolbarJSSetting(EditorEntity $editor) {
$toolbar = array();
foreach ($editor->settings['toolbar']['buttons'] as $row_number => $row) {
foreach ($editor->settings['toolbar']['buttons'] as $row) {
$button_group = array();
foreach ($row as $button_name) {
// Change the toolbar separators into groups.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment