function CKEditorTest::getDefaultToolbarConfig

File

core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php, line 532

Class

CKEditorTest
Tests for the 'CKEditor' text editor plugin.

Namespace

Drupal\Tests\ckeditor\Kernel

Code

protected function getDefaultToolbarConfig() {
  return [
    [
      'name' => 'Formatting',
      'items' => [
        'Bold',
        'Italic',
      ],
    ],
    [
      'name' => 'Links',
      'items' => [
        'DrupalLink',
        'DrupalUnlink',
      ],
    ],
    [
      'name' => 'Lists',
      'items' => [
        'BulletedList',
        'NumberedList',
      ],
    ],
    [
      'name' => 'Media',
      'items' => [
        'Blockquote',
        'DrupalImage',
      ],
    ],
    [
      'name' => 'Tools',
      'items' => [
        'Source',
      ],
    ],
    '/',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.