Asset

Type
Class
Namespace
craft\gql\resolvers\elements
Inherits
craft\gql\resolvers\elements\Asset » craft\gql\base\ElementResolver » craft\gql\base\Resolver
Since
3.3.0

Class Asset

View source (opens new window)

# Public Methods

Method Description
prepareQuery() Prepare an element Query based on the source, arguments and the field name on the source.
resolve() Resolve a field to its value.
resolveCount() Resolve an element query to a total count of elements.
resolveOne() Resolve an element query to a single result.

# prepareQuery()

Prepare an element Query based on the source, arguments and the field name on the source.

View source (opens new window)

Arguments

Returns

mixed

# Protected Methods

Method Description
prepareElementQuery() Prepare an element query for given resolution argument set.