Generator

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

Class Generator

View source (opens new window)

# Protected Methods

Method Description
getContentFields() Get content fields for a given context.

# getContentFields()

Get content fields for a given context.

View source (opens new window)

Arguments

  • $context (mixed)

Returns

array (opens new window)