You are here

public function TokenGetter::__construct in Access unpublished 8

File

src/TokenGetter.php, line 32

Class

TokenGetter
Service to handle the current token.

Namespace

Drupal\access_unpublished

Code

public function __construct(ConfigFactoryInterface $configFactory) {
  $this->config = $configFactory
    ->get('access_unpublished.settings');
}