/graphql/query
A view of the graphql module, defined in kernel/graphql/module.php and run by kernel/graphql/query.php.
Address
/graphql/queryWho may open it
The user needs this policy function:
A policy on graphql/* (every function) also grants it; limitations of the policy (section, subtree, class ...) still apply where the view checks them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
| UI context | ajax |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/graphql/query'|ezurl>graphql/query</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/graphql/query' );Related
Generated by ./console exp:help:examples from kernel/graphql/module.php, kernel/graphql/query.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.