Skip to content

RelatedUsers ​

Type
Class
Namespace
craft\gql\handlers
Inherits
craft\gql\handlers\RelatedUsers » craft\gql\base\RelationArgumentHandler » craft\gql\base\ArgumentHandler
Implements
craft\gql\base\ArgumentHandlerInterface
Since
3.6.0

Class RelatedUsers

View source

Protected Properties ​

PropertyDescription
argumentManagercraft\gql\ArgumentManager
argumentName

argumentName ​

Default value
'relatedToUsers'

View source

Public Methods ​

MethodDescription
handleArgumentCollection()Handle an argument collection
setArgumentManager()Set the current argument manager. Required for recursive argument preparation.

Protected Methods ​

MethodDescription
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

Arguments ​

  • $argumentValue (mixed)

Returns ​

mixed