Skip to content

Instantly share code, notes, and snippets.

@colincalnan
Created September 4, 2019 23:38
Show Gist options
  • Save colincalnan/03bfb110c46f5b8b04a272d33d020e5b to your computer and use it in GitHub Desktop.
Save colincalnan/03bfb110c46f5b8b04a272d33d020e5b to your computer and use it in GitHub Desktop.
ckeditor_quicktable.patch
diff --git a/docroot/modules/contrib/ckeditor_quicktable/src/Plugin/CKEditorPlugin/QuickTable.php b/docroot/modules/contrib/ckeditor_quicktable/src/Plugin/CKEditorPlugin/QuickTable.php
index c87f91cd..24bd55f2 100644
--- a/docroot/modules/contrib/ckeditor_quicktable/src/Plugin/CKEditorPlugin/QuickTable.php
+++ b/docroot/modules/contrib/ckeditor_quicktable/src/Plugin/CKEditorPlugin/QuickTable.php
@@ -6,6 +6,7 @@
use Drupal\ckeditor\CKEditorPluginButtonsInterface;
use Drupal\Component\Plugin\PluginBase;
use Drupal\editor\Entity\Editor;
+use Drupal\Core\StringTranslation\StringTranslationTrait;
/**
* Defines the "QuickTable" plugin.
@@ -17,6 +18,8 @@
*/
class QuickTable extends PluginBase implements CKEditorPluginInterface, CKEditorPluginButtonsInterface {
+ use StringTranslationTrait;
+
/**
* {@inheritdoc}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment