public function Server::id in GraphQL 8.4
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
File
- src/
Entity/ Server.php, line 158
Class
- Server
- The main GraphQL configuration and request entry point.
Namespace
Drupal\graphql\EntityCode
public function id() {
return $this->name;
}