public function HiddenLanguageSubscriber::__construct in Hidden Language 8
Same name and namespace in other branches
- 2.x src/EventSubscriber/HiddenLanguageSubscriber.php \Drupal\hidden_language\EventSubscriber\HiddenLanguageSubscriber::__construct()
Constructs a new hidden language subscriber.
Parameters
\Drupal\Core\Session\AccountInterface $account: The current user.
File
- src/
EventSubscriber/ HiddenLanguageSubscriber.php, line 29
Class
Namespace
Drupal\hidden_language\EventSubscriberCode
public function __construct(AccountInterface $account) {
$this->account = $account;
}