You are here

public function ApiTokenBase::description in API Tokens 8.2

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

Returns the administrative description of the API token.

Return value

string

Overrides ApiTokenPluginInterface::description

File

src/ApiTokenBase.php, line 142

Class

ApiTokenBase
Provides a base class for the API token plugins.

Namespace

Drupal\api_tokens

Code

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