With Drupal 8 HEAD, I'm getting the following when configuring a Text Format:
Got error 'PHP message: Error: Call to undefined method Drupal\\wysiwyg_linebreaks\\Plugin\\CKEditorPlugin\\Linebreaks::t() in /var/www/drupalvm/drupal/web/modules/contrib/wysiwyg_linebreaks/src/Plugin/CKEditorPlugin/Linebreaks.php on line 78 #0 /var/www/drupalvm/drupal/web/core/modules/ckeditor/src/CKEditorPluginManager.php(189): Drupal\\wysiwyg_linebreaks\\Plugin\\CKEditorPlugin\\Linebreaks->settingsForm(Array, Object(Drupal\\Core\\Form\\FormState), Object(Drupal\\editor\\Entity\\Editor))\n#1 /var/www/drupalvm/drupal/web/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php(176): Drupal\\ckeditor\\CKEditorPluginManager->injectPluginSettingsForm(Array, Object(Drupal\\Core\\Form\\FormState), Object(Drupal\\editor\\Entity\\Editor))\n#2 /var/www/drupalvm/drupal/web/core/modules/editor/editor.module(174): Drupal\\ckeditor\\Plugin\\Editor\\CKEditor->settingsForm(Array, Object(Drupal\\Core\\Form\\FormState), Object(Drupal\\editor\\Entity\\Editor))\n#3 /var/www/drupalvm/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(501): editor_form_filter_for...\n', referer: http://drupalvm.dev/admin/config/content/formats
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2845790-2-linebreaks-fix-fatal.patch | 1.72 KB | geerlingguy |
Comments
Comment #2
geerlingguy commentedPatch attached.
Comment #3
geerlingguy commentedComment #4
geerlingguy commentedGetting testbot active...
Comment #6
geerlingguy commentedThis seems to be an 8.3.x-specific issue. But switching to the global
t()function is a safe enough backwards-compatible fix.Comment #7
geerlingguy commented