public function Client::label in OAuth2 Server 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Client.php \Drupal\oauth2_server\Entity\Client::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/ Client.php, line 125
Class
- Client
- Defines the OAuth2 client entity.
Namespace
Drupal\oauth2_server\EntityCode
public function label() {
return isset($this->name) ? $this->name : NULL;
}