public function ResolveContext::getContextLanguage in GraphQL 8.4
Returns the current context language.
Return value
string
File
- src/
GraphQL/ Execution/ ResolveContext.php, line 133
Class
- ResolveContext
- Context that is provided during resolving the GraphQL tree.
Namespace
Drupal\graphql\GraphQL\ExecutionCode
public function getContextLanguage() {
return $this->language;
}