You are here

public function Oauth2TokenType::setDescription in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8.2 src/Entity/Oauth2TokenType.php \Drupal\simple_oauth\Entity\Oauth2TokenType::setDescription()
  2. 8.3 src/Entity/Oauth2TokenType.php \Drupal\simple_oauth\Entity\Oauth2TokenType::setDescription()
  3. 5.x src/Entity/Oauth2TokenType.php \Drupal\simple_oauth\Entity\Oauth2TokenType::setDescription()

Set the description.

Parameters

string $description: The description.

Overrides Oauth2TokenTypeInterface::setDescription

File

src/Entity/Oauth2TokenType.php, line 66

Class

Oauth2TokenType
Defines the OAuth2 Token Type entity.

Namespace

Drupal\simple_oauth\Entity

Code

public function setDescription($description) {
  $this->description = $description;
}