Skip to content
Snippets Groups Projects
Commit 701afb15 authored by Kevin Quillen's avatar Kevin Quillen
Browse files

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

parent 661e8bd3
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment