RelatedEntries ​
- Type
- Class
- Namespace
- craft\gql\handlers
- Inherits
- craft\gql\handlers\RelatedEntries » craft\gql\base\RelationArgumentHandler » craft\gql\base\ArgumentHandler
- Implements
- craft\gql\base\ArgumentHandlerInterface
- Since
- 3.6.0
Class RelatedEntries
Protected Properties ​
Property | Description |
---|---|
argumentManager | craft\gql\ArgumentManager |
argumentName |
argumentName
​
- Default value
'relatedToEntries'
Public Methods ​
Method | Description |
---|---|
handleArgumentCollection() | Handle an argument collection |
setArgumentManager() | Set the current argument manager. Required for recursive argument preparation. |
Protected Methods ​
Method | Description |
---|---|
getIds() | Get the IDs of elements returned by configuring the provided element query with given criteria. |
handleArgument() | Handle a single argument value |
prepareRelatedTo() | Prepare the relatedTo argument. |
handleArgument()
​
Handle a single argument value
Arguments ​
$argumentValue
(mixed
)
Returns ​
mixed