You are here

public function ApiTokenBase::provider in API Tokens 8

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

Code

public function provider() {
  return $this->pluginDefinition['provider'];
}