From 701afb1556c6ddbf94dc4adf6da81f336dc2cc10 Mon Sep 17 00:00:00 2001
From: Kevin Quillen <kevinquillen@gmail.com>
Date: Tue, 20 Sep 2016 09:53:48 -0400
Subject: [PATCH] Updating comment for getLanguages() and providing a bit more
 explanation.

---
 src/Plugin/CKEditorPlugin/CodeSnippet.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Plugin/CKEditorPlugin/CodeSnippet.php b/src/Plugin/CKEditorPlugin/CodeSnippet.php
index 21e1cc4..e10e420 100644
--- a/src/Plugin/CKEditorPlugin/CodeSnippet.php
+++ b/src/Plugin/CKEditorPlugin/CodeSnippet.php
@@ -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() {
-- 
GitLab