Address
- Type
- Class
- Namespace
- craft\gql\arguments\elements
- Inherits
- craft\gql\arguments\elements\Address » craft\gql\base\ElementArguments » craft\gql\base\Arguments
- Since
- 4.0.0
Class Address
View source (opens new window)
# Public Methods
Method | Description |
---|---|
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 (opens new window)
Returns
array (opens new window) – $fields
# getContentArguments()
Returns arguments defined by the content fields.
View source (opens new window)
Returns
# getRevisionArguments()
- Since
- 3.6.8
Return the arguments used for elements that support revisions.
View source (opens new window)