class Entity in GraphQL 8.3
Plugin annotation
@GraphQLInterface(
id = "entity",
name = "Entity",
type = "entity",
description = @Translation("Common entity interface containing generic entity properties.")
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\graphql\Plugin\GraphQL\Interfaces\InterfacePluginBase implements TypePluginInterface uses CacheablePluginTrait, DescribablePluginTrait
- class \Drupal\graphql_core\Plugin\GraphQL\Interfaces\Entity\Entity
- class \Drupal\graphql\Plugin\GraphQL\Interfaces\InterfacePluginBase implements TypePluginInterface uses CacheablePluginTrait, DescribablePluginTrait
Expanded class hierarchy of Entity
1 string reference to 'Entity'
- EntityTypeDeriverBase::getInterfaces in modules/
graphql_core/ src/ Plugin/ Deriver/ EntityTypeDeriverBase.php - Retrieve the interfaces that the entity type should implement.
File
- modules/
graphql_core/ src/ Plugin/ GraphQL/ Interfaces/ Entity/ Entity.php, line 15
Namespace
Drupal\graphql_core\Plugin\GraphQL\Interfaces\EntityView source
class Entity extends InterfacePluginBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheablePluginTrait:: |
protected | function | ||
DescribablePluginTrait:: |
protected | function | ||
InterfacePluginBase:: |
protected | function | Builds the list of interfaces inherited by this interface. | |
InterfacePluginBase:: |
public static | function |
Overrides TypePluginInterface:: |
|
InterfacePluginBase:: |
public | function |
Returns the plugin's type or field definition for the schema. Overrides TypePluginInterface:: |
|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |