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