You are here

public function ApiTokenBase::token in API Tokens 8.2

Same name and namespace in other branches
  1. 8 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_tokens

Code

public function token() {
  return $this->token;
}