interface DataProducerPluginCachingInterface in GraphQL 8.4
Defines cachable data producer plugins.
Hierarchy
- interface \Drupal\Core\Plugin\ContextAwarePluginInterface; interface \Drupal\Core\Cache\CacheableDependencyInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface
- interface \Drupal\graphql\Plugin\DataProducerPluginInterface
- interface \Drupal\graphql\Plugin\DataProducerPluginCachingInterface
- interface \Drupal\graphql\Plugin\DataProducerPluginInterface
Expanded class hierarchy of DataProducerPluginCachingInterface
All classes that implement DataProducerPluginCachingInterface
2 files declare their use of DataProducerPluginCachingInterface
- DataProducerProxy.php in src/
Plugin/ GraphQL/ DataProducer/ DataProducerProxy.php - EntityLabel.php in src/
Plugin/ GraphQL/ DataProducer/ Entity/ EntityLabel.php
File
- src/
Plugin/ DataProducerPluginCachingInterface.php, line 8
Namespace
Drupal\graphql\PluginView source
interface DataProducerPluginCachingInterface extends DataProducerPluginInterface {
/**
* Calculates a cache prefix.
*
* @return string|null
*/
public function edgeCachePrefix();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyInterface:: |
public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface:: |
public | function | The maximum age for which this object may be cached. | 34 |
CacheableDependencyInterface:: |
public | function | The cache tags associated with this object. | 27 |
ContextAwarePluginInterface:: |
public | function | Gets a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function |
Gets a specific context definition of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function |
Gets the context definitions of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function | Gets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the values for all defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Set a context on this plugin. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Validates the set values for the defined contexts. | 1 |
DataProducerPluginCachingInterface:: |
public | function | Calculates a cache prefix. | |
DataProducerPluginInterface:: |
public | function | Resolves the queried field with the given context. | 1 |
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 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |