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 (opens new window)
# 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 (opens new window)
Arguments
$context
(craft\fields\Matrix)
Returns
mixed
# normalizeValue()
Normalize Matrix GraphQL input data to what Craft expects.
View source (opens new window)
Arguments
$value
(mixed
)
Returns
mixed