public function TokenGetter::setToken in Access unpublished 8
Set the current token.
Parameters
string $token: The token.
1 call to TokenGetter::setToken()
- TokenGetter::setTokenFromRequest in src/
TokenGetter.php - Set the token from the current request.
File
- src/
TokenGetter.php, line 52
Class
- TokenGetter
- Service to handle the current token.
Namespace
Drupal\access_unpublishedCode
public function setToken($token) {
$this->token = $token;
}