Path |
modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/Path.php |
Plugin annotation
@GraphQLField(
id = "url_path",
secure = true,
name = "path",
description = @Translation("The processed url path."),
type = "String",
response_cache_contexts = {"languages:language_url"},
parents = {"Url"}
) |
Route |
modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/Route.php |
Retrieve a route object based on a path. |
Routed |
modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/Routed.php |
Check if an Url is routed. |
RouteEntity |
modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/RouteEntity.php |
Retrieve the current routes entity, if it is an entity route. |
Translate |
modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/Translate.php |
Plugin annotation
@GraphQLField(
id = "url_translate",
secure = true,
name = "translate",
description = @Translation("The translated url object."),
type = "Url",
parents = {"Url"},
arguments = {
"language" = "LanguageId!"
},
… |