service graphql.language_context in GraphQL 8.3
Class
Drupal\graphql\GraphQLLanguageContext5 string references to graphql.language_context
- FieldPluginBase::getLanguageContext in src/
Plugin/ GraphQL/ Fields/ FieldPluginBase.php - Get the language context instance.
- LanguageContextTest::testLanguageContext in tests/
src/ Kernel/ Framework/ LanguageContextTest.php - Test the language context service.
- LanguageContextTest::testLanguageNegotiation in tests/
src/ Kernel/ Framework/ LanguageContextTest.php - Test the language negotiation within a context.
- LanguageContextTest::testNegotiatorInjection in tests/
src/ Kernel/ Framework/ LanguageContextTest.php - Test if the language negotiator is injected properly.
- LanguageNegotiationGraphQL::create in src/
Plugin/ LanguageNegotiation/ LanguageNegotiationGraphQL.php - Creates an instance of the plugin.
File
View source
- class: Drupal\graphql\GraphQLLanguageContext
- arguments:
- - '@language_manager'
- - '@string_translation'