OptionField
- Type
- Class
- Namespace
- craft\gql\arguments
- Inherits
- craft\gql\arguments\OptionField ยป craft\gql\base\Arguments
- Since
- 3.4.6
Class OptionField
View source (opens new window)
# Public Methods
Method | Description |
---|---|
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 (opens new window)
Returns
array (opens new window) โ $fields
โ TypeManager Transform โ