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