GqlInlineFragmentFieldInterface ​
- Type
- Interface
- Namespace
- craft\base
- Implemented by
- craft\fields\Matrix
- Since
- 3.3.0
GqlInlineFragmentFieldInterface defines the common interface to be implemented by fields that support inline GraphQL fragments.
Public Methods ​
Method | Description |
---|---|
getGqlFragmentEntityByName() | Returns a GraphQL fragment by its GraphQL fragment name. |
getGqlFragmentEntityByName()
​
Returns a GraphQL fragment by its GraphQL fragment name.
Arguments ​
$fragmentName
(string)