public function CKEditor::getDefaultSettings

Implements \Drupal\editor\Plugin\EditPluginInterface::getDefaultSettings().

Overrides EditorBase::getDefaultSettings

File

drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/Editor/CKEditor.php, line 30
Contains \Drupal\ckeditor\Plugin\Editor\CKEditor.

Class

CKEditor
Defines a CKEditor-based text editor for Drupal.

Namespace

Drupal\ckeditor\Plugin\Editor

Code

public function getDefaultSettings() {
  return array(
    'toolbar' => array(
      'buttons' => array(
        array(
          'Bold',
          'Italic',
          '|',
          'Link',
          'Unlink',
          '|',
          'BulletedList',
          'NumberedList',
          '|',
          'Blockquote',
          'Image',
          '|',
          'Source',
        ),
      ),
    ),
    'plugins' => array(),
  );
}