You are here

public function QueryMap::id in GraphQL 8.3

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/QueryMap.php, line 55

Class

QueryMap
Plugin annotation @ConfigEntityType( id = "graphql_query_map", label = @Translation("Query map"), handlers = { "list_builder" = "Drupal\graphql\Controller\QueryMapListBuilder", "form" = { "import" =…

Namespace

Drupal\graphql\Entity

Code

public function id() {
  return $this->version;
}