Skip to content

Generator

Type
Abstract Class
Namespace
craft\gql\base
Inherits
craft\gql\base\Generator
Extended by
craft\gql\types\generators\AddressType, craft\gql\types\generators\AssetType, craft\gql\types\generators\CategoryType, craft\gql\types\generators\EntryType, craft\gql\types\generators\GlobalSetType, craft\gql\types\generators\TagType, craft\gql\types\generators\UserType
Since
3.6.0

Class Generator

View source

Protected Methods

MethodDescription
getContentFields()Get content fields for a given context.

getContentFields()

Get content fields for a given context.

View source

Arguments

  • $context (mixed)

Returns

array