Skip to content

OptionField ​

Type
Class
Namespace
craft\gql\arguments
Inherits
craft\gql\arguments\OptionField » craft\gql\base\Arguments
Since
3.4.6

Class OptionField

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