public function ApiTokenBase::id in API Tokens 8.2
Same name and namespace in other branches
- 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_tokensCode
public function id() {
return $this->pluginId;
}