Commit 701afb15 authored by kevinquillen's avatar kevinquillen

Updating comment for getLanguages() and providing a bit more explanation.

parent 661e8bd3
......@@ -142,6 +142,12 @@ class CodeSnippet extends CKEditorPluginBase implements CKEditorPluginConfigurab
* Unlike getDefaultLanguages(), this provides human friendly names for
* languages (ex. C++ instead of cpp).
* These languages are provided as options by the module because these are the
* languages that come with HighlightJS in the CodeSnippet CKEditor plugin.
* To add more languages, users can easily implement hook_form_alter() and add
* to the options array.
* @return array
private function getLanguages() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment