interface FieldPluginInterface in GraphQL 8.3
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface
- interface \Drupal\graphql\Plugin\FieldPluginInterface
Expanded class hierarchy of FieldPluginInterface
All classes that implement FieldPluginInterface
1 file declares its use of FieldPluginInterface
- FieldPluginBase.php in src/
Plugin/ GraphQL/ Fields/ FieldPluginBase.php
1 string reference to 'FieldPluginInterface'
File
- src/
Plugin/ FieldPluginInterface.php, line 8
Namespace
Drupal\graphql\PluginView source
interface FieldPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
/**
* @param \Drupal\graphql\Plugin\SchemaBuilderInterface $builder
* @param \Drupal\graphql\Plugin\FieldPluginManager $manager
* @param $definition
* @param $id
*
* @return mixed
*/
public static function createInstance(SchemaBuilderInterface $builder, FieldPluginManager $manager, $definition, $id);
/**
* Returns the plugin's type or field definition for the schema.
*
* @return array
* The type or field definition of the plugin.
*/
public function getDefinition();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
FieldPluginInterface:: |
public static | function | 1 | |
FieldPluginInterface:: |
public | function | Returns the plugin's type or field definition for the schema. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |