You are here

public function ScopeEntity::getDescription in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8.3 src/Entities/ScopeEntity.php \Drupal\simple_oauth\Entities\ScopeEntity::getDescription()
  2. 5.x src/Entities/ScopeEntity.php \Drupal\simple_oauth\Entities\ScopeEntity::getDescription()

Returns a description for the scope.

Return value

string|null The description of the scope.

Overrides ScopeEntityNameInterface::getDescription

File

src/Entities/ScopeEntity.php, line 50

Class

ScopeEntity

Namespace

Drupal\simple_oauth\Entities

Code

public function getDescription() {

  // Roles have no description.
  return NULL;
}