You are here

public function ContextCurrentUserAuth::__construct in TMGMT Translator Smartling 8

Same name and namespace in other branches
  1. 8.4 src/Context/ContextCurrentUserAuth.php \Drupal\tmgmt_smartling\Context\ContextCurrentUserAuth::__construct()
  2. 8.2 src/Context/ContextCurrentUserAuth.php \Drupal\tmgmt_smartling\Context\ContextCurrentUserAuth::__construct()
  3. 8.3 src/Context/ContextCurrentUserAuth.php \Drupal\tmgmt_smartling\Context\ContextCurrentUserAuth::__construct()

ContextCurrentUserAuth constructor.

Parameters

AccountInterface $account:

File

src/Context/ContextCurrentUserAuth.php, line 20

Class

ContextCurrentUserAuth

Namespace

Drupal\tmgmt_smartling\Context

Code

public function __construct(AccountInterface $account) {
  $this->currentAccount = $account;
}