You are here

public function ScopeEntity::getDescription in Simple OAuth (OAuth2) & OpenID Connect 5.x

Same name and namespace in other branches
  1. 8.4 src/Entities/ScopeEntity.php \Drupal\simple_oauth\Entities\ScopeEntity::getDescription()
  2. 8.3 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;
}