MatrixBlock

Type
Class
Namespace
craft\gql\arguments\elements
Inherits
craft\gql\arguments\elements\MatrixBlock » craft\gql\base\ElementArguments » craft\gql\base\Arguments
Since
3.3.0

Class MatrixBlock

View source

# Public Methods

Method Description
getArguments() Returns the argument fields to use in GraphQL type definitions.
getContentArguments() Returns arguments defined by the content fields.
getDraftArguments() Return the arguments used for elements that support drafts.

# getArguments()

Returns the argument fields to use in GraphQL type definitions.

View source

Returns

array – $fields

# Protected Methods

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