Skip to content

Matrix

Type
Class
Namespace
craft\gql\types\input
Inherits
craft\gql\types\input\Matrix » GraphQL\Type\Definition\InputObjectType
Since
3.5.0

Class Matrix

View source

Public Methods

MethodDescription
getType()Create the type for a matrix field.
normalizeValue()Normalize Matrix GraphQL input data to what Craft expects.

getType()

Create the type for a matrix field.

View source

Arguments

  • $context (mixed)

Returns

boolean, mixed

normalizeValue()

Normalize Matrix GraphQL input data to what Craft expects.

View source

Arguments

  • $value (mixed)

Returns

mixed