Commit e767d514 authored by Jon Minder's avatar Jon Minder
Browse files

Issue #3223290 by hmendes, ayalon: Fatal error: Trait...

Issue #3223290 by hmendes, ayalon: Fatal error: Trait 'Drupal\Console\Command\Shared\TranslationTrait' not found
parent 5f67fe5a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4,10 +4,10 @@ namespace Drupal\commerce_promo_link\Controller;

use Drupal\commerce_store\CurrentStoreInterface;
use Drupal\Component\Utility\Html;
use Drupal\Console\Command\Shared\TranslationTrait;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Messenger\MessengerInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\TempStore\PrivateTempStoreFactory;
use Symfony\Component\DependencyInjection\ContainerInterface;

@@ -16,7 +16,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
 */
class PromoLink extends ControllerBase {

  use TranslationTrait;
  use StringTranslationTrait;

  /**
   * The current store.