public function ApiTokenBase::token in API Tokens 8
Same name and namespace in other branches
- 8.2 src/ApiTokenBase.php \Drupal\api_tokens\ApiTokenBase::token()
Returns the API token string.
Return value
string
Overrides ApiTokenPluginInterface::token
File
- src/
ApiTokenBase.php, line 156
Class
- ApiTokenBase
- Provides a base class for the API token plugins.
Namespace
Drupal\api_tokensCode
public function token() {
return $this->token;
}