You are here

public function ScopeEntity::getName 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::getName()
  2. 8.3 src/Entities/ScopeEntity.php \Drupal\simple_oauth\Entities\ScopeEntity::getName()

Returns a name for the scope.

Return value

string The name of the scope.

Overrides ScopeEntityNameInterface::getName

File

src/Entities/ScopeEntity.php, line 43

Class

ScopeEntity

Namespace

Drupal\simple_oauth\Entities

Code

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