You are here

public function AccessUnpublishedTokenSet::resolve in Access unpublished 8

File

src/Plugin/GraphQL/DataProducer/AccessUnpublishedTokenSet.php, line 72

Class

AccessUnpublishedTokenSet
Set an access_unpublished token.

Namespace

Drupal\access_unpublished\Plugin\GraphQL\DataProducer

Code

public function resolve($token, RefinableCacheableDependencyInterface $metadata) {
  $this->tokenGetter
    ->setToken($token);
}