RelatedCategories
- Type
- Class
- Namespace
- craft\gql\handlers
- Inherits
- craft\gql\handlers\RelatedCategories » craft\gql\base\RelationArgumentHandler » craft\gql\base\ArgumentHandler
- Implements
- craft\gql\base\ArgumentHandlerInterface
- Since
- 3.6.0
Class RelatedCategories
View source (opens new window)
# Protected Properties
Property | Description |
---|---|
argumentManager | craft\gql\ArgumentManager |
argumentName |
# argumentName
- Default value
'relatedToCategories'
View source (opens new window)
# 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
View source (opens new window)
Arguments
$argumentValue
(mixed
)
Returns
mixed