protected static function SettingsForm::getCodeMirrorThemes in The CodeMirror Editor 8
Returns available CodeMirror themes.
Return value
array CodeMirror themes.
1 call to SettingsForm::getCodeMirrorThemes()
- SettingsForm::buildForm in src/
Form/ SettingsForm.php - Form constructor.
File
- src/
Form/ SettingsForm.php, line 173
Class
- SettingsForm
- CodeMirror editor settings form.
Namespace
Drupal\codemirror_editor\FormCode
protected static function getCodeMirrorThemes() {
return [
'default' => 'Default',
'3024-day' => '3024 day',
'3024-night' => '3024 night',
'abcdef' => 'ABCDEF',
'ambiance' => 'Ambiance',
'base16-dark' => 'Base16 dark',
'base16-light' => 'Base16 light',
'bespin' => 'Bespin',
'blackboard' => 'Black board',
'cobalt' => 'Cobalt',
'colorforth' => 'Color forth',
'darcula' => 'Darcula',
'dracula' => 'Dracula',
'duotone-dark' => 'Duotone dark',
'eclipse' => 'Eclipse',
'elegant' => 'Elegant',
'erlang-dark' => 'Erlang dark',
'gruvbox-dark' => 'Gruvbox dark',
'hopscotch' => 'Hopscotch',
'icecoder' => 'Ice coder',
'idea' => 'Idea',
'isotope' => 'Isotope',
'lesser-dark' => 'Lesser dark',
'liquibyte' => 'Liquibyte',
'lucario' => 'Lucario',
'material' => 'Material',
'mbo' => 'MBO',
'mdn-like' => 'MDN like',
'midnight' => 'Midnight',
'monokai' => 'Monokai',
'neat' => 'Neat',
'neo' => 'Neo',
'night' => 'Night',
'oceanic-next' => 'Oceanic next',
'panda-syntax' => 'Panda syntax',
'paraiso-dark' => 'Paraiso dark',
'paraiso-light' => 'Paraiso light',
'pastel-on-dark' => 'Pastel on dark',
'railscasts' => 'Rails casts',
'rubyblue' => 'Ruby blue',
'seti' => 'Seti',
'shadowfox' => 'Shadow fox',
'solarized-dark' => 'Solarized dark',
'solarized-light' => 'Solarized light',
'the-matrix' => 'The matrix',
'tomorrow-night-bright' => 'Tomorrow night bright',
'tomorrow-night-eighties' => 'Tomorrow night eighties',
'ttcn' => 'TTCN',
'twilight' => 'Twilight',
'vibrant-ink' => 'Vibrant ink',
'xq-dark' => 'XQ dark',
'xq-light' => 'XQ light',
'yeti' => 'Yeti',
'zenburn' => 'Zenburn',
];
}