Commit c7058b56 authored by João Ventura's avatar João Ventura Committed by Joao Ventura
Browse files

Issue #3137429 by jcnventura: t() calls should be avoided in classes

parent 6d01e75c
Loading
Loading
Loading
Loading
+2
Changes for src/Plugin/CKEditorPlugin/HubspotForms.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ namespace Drupal\hubspot_forms\Plugin\CKEditorPlugin;
use Drupal\ckeditor\CKEditorPluginInterface;
use Drupal\ckeditor\CKEditorPluginButtonsInterface;
use Drupal\Component\Plugin\PluginBase;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\editor\Entity\Editor;

/**
@@ -16,6 +17,7 @@ use Drupal\editor\Entity\Editor;
 * )
 */
class HubspotForms extends PluginBase implements CKEditorPluginInterface, CKEditorPluginButtonsInterface {
  use StringTranslationTrait;

  /**
   * {@inheritdoc}