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_unpublishedCode
public function __construct(ConfigFactoryInterface $configFactory) {
$this->config = $configFactory
->get('access_unpublished.settings');
}