Skip to content

Transform ​

Type
Class
Namespace
craft\gql\arguments
Inherits
craft\gql\arguments\Transform » craft\gql\base\Arguments
Since
3.3.0

Class Transform

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

Protected Methods ​

MethodDescription
buildContentArguments()Return the content arguments based on a list of contexts and an element class.