protected function CKEditorTest::getDefaultToolbarConfig

2 calls to CKEditorTest::getDefaultToolbarConfig()
CKEditorTest::testBuildToolbarJSSetting in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php
Tests CKEditor::buildToolbarJSSetting().
CKEditorTest::testGetJSSettings in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php
Tests CKEditor::getJSSettings().

File

drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php, line 233
Definition of \Drupal\ckeditor\Tests\CKEditorTest.

Class

CKEditorTest
Tests for the 'CKEditor' text editor plugin.

Namespace

Drupal\ckeditor\Tests

Code

protected function getDefaultToolbarConfig() {
  return array(
    0 => array(
      'items' => array(
        'Bold',
        'Italic',
      ),
    ),
    1 => array(
      'items' => array(
        'Link',
        'Unlink',
      ),
    ),
    2 => array(
      'items' => array(
        'BulletedList',
        'NumberedList',
      ),
    ),
    3 => array(
      'items' => array(
        'Blockquote',
        'Image',
      ),
    ),
    4 => array(
      'items' => array(
        'Source',
      ),
    ),
    5 => '/',
  );
}