Skip to content

Arguments

Type
Abstract Class
Namespace
craft\gql\base
Inherits
craft\gql\base\Arguments
Extended by
craft\gql\arguments\OptionField, craft\gql\arguments\Transform, craft\gql\arguments\elements\Address, craft\gql\arguments\elements\Asset, craft\gql\arguments\elements\Category, craft\gql\arguments\elements\Entry, craft\gql\arguments\elements\GlobalSet, craft\gql\arguments\elements\Tag, craft\gql\arguments\elements\User, craft\gql\base\ElementArguments, craft\gql\base\StructureElementArguments
Since
3.3.0

Class Arguments

View source

Public Methods

MethodDescription
getArguments()Returns the argument fields to use in GraphQL type definitions.
getContentArguments()Returns arguments defined by the content fields.

getArguments()

Returns the argument fields to use in GraphQL type definitions.

View source

Returns

array – $fields

getContentArguments()

Returns arguments defined by the content fields.

View source

Returns

array