public function Scope::label in OAuth2 Server 8
Same name and namespace in other branches
- 2.0.x src/Entity/Scope.php \Drupal\oauth2_server\Entity\Scope::label()
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
Overrides EntityBase::label
File
- src/
Entity/ Scope.php, line 103
Class
- Scope
- Defines the OAuth2 scope entity.
Namespace
Drupal\oauth2_server\EntityCode
public function label() {
return isset($this->scope_id) ? $this->scope_id : NULL;
}