protected function CKEditorTest::getDefaultToolbarConfig in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/ckeditor/src/Tests/CKEditorTest.php \Drupal\ckeditor\Tests\CKEditorTest::getDefaultToolbarConfig()
2 calls to CKEditorTest::getDefaultToolbarConfig()
- CKEditorTest::testBuildToolbarJSSetting in core/
modules/ ckeditor/ src/ Tests/ CKEditorTest.php - Tests CKEditor::buildToolbarJSSetting().
- CKEditorTest::testGetJSSettings in core/
modules/ ckeditor/ src/ Tests/ CKEditorTest.php - Tests CKEditor::getJSSettings().
File
- core/
modules/ ckeditor/ src/ Tests/ CKEditorTest.php, line 453 - Contains \Drupal\ckeditor\Tests\CKEditorTest.
Class
- CKEditorTest
- Tests for the 'CKEditor' text editor plugin.
Namespace
Drupal\ckeditor\TestsCode
protected function getDefaultToolbarConfig() {
return array(
array(
'name' => 'Formatting',
'items' => array(
'Bold',
'Italic',
),
),
array(
'name' => 'Links',
'items' => array(
'DrupalLink',
'DrupalUnlink',
),
),
array(
'name' => 'Lists',
'items' => array(
'BulletedList',
'NumberedList',
),
),
array(
'name' => 'Media',
'items' => array(
'Blockquote',
'DrupalImage',
),
),
array(
'name' => 'Tools',
'items' => array(
'Source',
),
),
'/',
);
}