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
(craft\fields\Matrix)
Returns ​
mixed
normalizeValue()
​
Normalize Matrix GraphQL input data to what Craft expects.
Arguments ​
$value
(mixed
)
Returns ​
mixed