You are here

public function ApiTokenBase::hash in API Tokens 8

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

Returns the API token parameters hash.

Return value

string

Overrides ApiTokenPluginInterface::hash

File

src/ApiTokenBase.php, line 177

Class

ApiTokenBase
Provides a base class for the API token plugins.

Namespace

Drupal\api_tokens

Code

public function hash() {
  return $this->hash;
}