User ​
- Type
- Class
- Namespace
- craft\gql\queries
- Inherits
- craft\gql\queries\User » craft\gql\base\Query
- Uses traits
- craft\gql\base\GqlTypeTrait
- Since
- 3.3.0
Class User
Public Methods ​
Method | Description |
---|---|
getFieldDefinitions() | List of fields for this type. |
getQueries() | Returns the queries defined by the class as an array. |
getType() | Returns an instance of this schema object's type as provided by entity registry |
getQueries()
​
Returns the queries defined by the class as an array.
Arguments ​
$checkToken
(boolean) – Whether the token should be checked for allowed queries. Note that passing a parameter to this method is now deprecated. Use craft\helpers\Gql::createFullAccessSchema() instead.
Returns ​
Protected Methods ​
Method | Description |
---|---|
getConditionalFields() | Return conditional fields for this type. |