public function ApiTokenBase::label in API Tokens 8
Same name and namespace in other branches
- 8.2 src/ApiTokenBase.php \Drupal\api_tokens\ApiTokenBase::label()
Returns the administrative label of the API token.
Return value
string
Overrides ApiTokenPluginInterface::label
1 call to ApiTokenBase::label()
- ApiTokenBase::validateToken in src/
ApiTokenBase.php - Performs one-time context-independent validation of the API token.
File
- src/
ApiTokenBase.php, line 135
Class
- ApiTokenBase
- Provides a base class for the API token plugins.
Namespace
Drupal\api_tokensCode
public function label() {
return $this->pluginDefinition['label'];
}