You are here

public function ApiTokenBase::id in API Tokens 8.2

Same name and namespace in other branches
  1. 8 src/ApiTokenBase.php \Drupal\api_tokens\ApiTokenBase::id()

Returns the API token ID.

Return value

string

Overrides ApiTokenPluginInterface::id

File

src/ApiTokenBase.php, line 128

Class

ApiTokenBase
Provides a base class for the API token plugins.

Namespace

Drupal\api_tokens

Code

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