Skip to content

Category

Type
Class
Namespace
craft\gql\arguments\elements
Inherits
craft\gql\arguments\elements\Category » craft\gql\base\StructureElementArguments » craft\gql\base\ElementArguments » craft\gql\base\Arguments
Since
3.3.0

Class Category

View source

Public Methods

MethodDescription
getArguments()Returns the argument fields to use in GraphQL type definitions.
getContentArguments()Returns arguments defined by the content fields.
getDraftArguments()Return the arguments used for elements that support drafts.
getRevisionArguments()Return the arguments used for elements that support revisions.
getStatusArguments()Return the various status arguments.

getArguments()

Returns the argument fields to use in GraphQL type definitions.

View source

Returns

array – $fields

getContentArguments()

Returns arguments defined by the content fields.

View source

Returns

array

getDraftArguments()

Return the arguments used for elements that support drafts.

View source

Returns

array

getRevisionArguments()

Since
3.6.8

Return the arguments used for elements that support revisions.

View source

Returns

array