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

Method Description
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

Returns

boolean, mixed

# normalizeValue()

Normalize Matrix GraphQL input data to what Craft expects.

View source

Arguments

  • $value

Returns

mixed