Commit 1a84825f authored by Samit Khulve's avatar Samit Khulve Committed by Roman Sych
Browse files

Issue #3322301 by samit.310@gmail.com: Error : Call to undefined method...

Issue #3322301 by samit.310@gmail.com: Error : Call to undefined method Drupal\par\ParService::t() in Drupal\par\ParService->getAccessLabelById()
parent f5043c90
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ namespace Drupal\par;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Database\Connection;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
@@ -12,6 +13,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
 */
class ParService {

  use StringTranslationTrait;

  /**
   * Constants for access statuses marking.
   */