You are here

public function BUEditor::getDefaultSettings in BUEditor 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Editor/BUEditor.php \Drupal\bueditor\Plugin\Editor\BUEditor::getDefaultSettings()

Returns the default settings for this configurable text editor.

Return value

array An array of settings as they would be stored by a configured text editor entity (\Drupal\editor\Entity\Editor).

Overrides EditorBase::getDefaultSettings

File

src/Plugin/Editor/BUEditor.php, line 30

Class

BUEditor
Defines BUEditor as an Editor plugin.

Namespace

Drupal\bueditor\Plugin\Editor

Code

public function getDefaultSettings() {
  $settings['default_editor'] = '';
  return $settings;
}