public function TypePluginInterface::getDefinition in GraphQL 8.3
Returns the plugin's type or field definition for the schema.
Return value
array The type or field definition of the plugin.
6 methods override TypePluginInterface::getDefinition()
- EnumPluginBase::getDefinition in src/
Plugin/ GraphQL/ Enums/ EnumPluginBase.php - Returns the plugin's type or field definition for the schema.
- InputTypePluginBase::getDefinition in src/
Plugin/ GraphQL/ InputTypes/ InputTypePluginBase.php - Returns the plugin's type or field definition for the schema.
- InterfacePluginBase::getDefinition in src/
Plugin/ GraphQL/ Interfaces/ InterfacePluginBase.php - Returns the plugin's type or field definition for the schema.
- ScalarPluginBase::getDefinition in src/
Plugin/ GraphQL/ Scalars/ ScalarPluginBase.php - Returns the plugin's type or field definition for the schema.
- TypePluginBase::getDefinition in src/
Plugin/ GraphQL/ Types/ TypePluginBase.php - Returns the plugin's type or field definition for the schema.
File
- src/
Plugin/ TypePluginInterface.php, line 29
Class
- TypePluginInterface
- Interface for type and field plugins of all sorts.
Namespace
Drupal\graphql\PluginCode
public function getDefinition();