Matrix ​
- Type
- Class
- Namespace
- craft\gql\types\input
- Inherits
- craft\gql\types\input\Matrix »
GraphQL\Type\Definition\InputObjectType
- Since
- 3.5.0
Class Matrix
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.
Arguments ​
$context
(mixed
)
Returns ​
boolean, mixed
normalizeValue()
​
Normalize Matrix GraphQL input data to what Craft expects.
Arguments ​
$value
(mixed
)
Returns ​
mixed