Overview
  • Namespace
  • Class

Namespaces

  • WPGraphQL
    • Data
    • Type
      • Avatar
      • Comment
        • Connection
      • CommentAuthor
      • EditLock
      • Enum
      • MediaItem
        • Mutation
      • Plugin
        • Connection
      • PostObject
        • Connection
        • Mutation
      • PostType
      • Setting
      • Taxonomy
      • TermObject
        • Connection
        • Mutation
      • Theme
        • Connection
      • Union
      • User
        • Connection
        • Mutation
    • Utils

Classes

  • RootMutationType
  • RootQueryType
  • WPEnumType
  • WPInputObjectType
  • WPObjectType

Class RootQueryType

Class RootQueryType The RootQueryType is the primary entry for Queries in the GraphQL Schema.

GraphQL\Type\Definition\ObjectType
Extended by WPGraphQL\Type\WPObjectType
Extended by WPGraphQL\Type\RootQueryType
Namespace: WPGraphQL\Type
Package: WPGraphQL\Type
Since: 0.0.4
Located at Type/RootQueryType.php

Methods summary

public
# __construct( )

RootQueryType constructor.

RootQueryType constructor.

Since

0.0.5

Overrides

WPGraphQL\Type\WPObjectType::__construct
public static
# fields( )
public static array
# theme( )

theme This sets up the theme entry point for the root query

theme This sets up the theme entry point for the root query

Returns

array

Since

0.0.5
public static array
# viewer( )

viewer This sets up the viewer entry point for the root query

viewer This sets up the viewer entry point for the root query

Returns

array

Since

0.0.5

Methods inherited from WPGraphQL\Type\WPObjectType

node_interface(), prepare_fields()

API documentation generated by ApiGen