interface SyncNormalizerDecoratorInterface in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/Plugin/SyncNormalizerDecoratorInterface.php \Drupal\content_sync\Plugin\SyncNormalizerDecoratorInterface
Defines an interface for Sync normalizer decorator plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\content_sync\Plugin\SyncNormalizerDecoratorInterface
Expanded class hierarchy of SyncNormalizerDecoratorInterface
All classes that implement SyncNormalizerDecoratorInterface
File
- src/
Plugin/ SyncNormalizerDecoratorInterface.php, line 11
Namespace
Drupal\content_sync\PluginView source
interface SyncNormalizerDecoratorInterface extends PluginInspectionInterface {
/**
* Apply decoration for the normalization process.
*/
public function decorateNormalization(array &$normalized_entity, ContentEntityInterface $entity, $format, array $context = []);
/**
* Apply decoration for the denormalization process.
*/
public function decorateDenormalization(array &$normalized_entity, $type, $format, array $context = []);
/**
* Apply decoration to the entity after the denormalization process is done.
*/
public function decorateDenormalizedEntity(ContentEntityInterface $entity, array $normalized_entity, $format, array $context = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
SyncNormalizerDecoratorInterface:: |
public | function | Apply decoration for the denormalization process. | 1 |
SyncNormalizerDecoratorInterface:: |
public | function | Apply decoration to the entity after the denormalization process is done. | 1 |
SyncNormalizerDecoratorInterface:: |
public | function | Apply decoration for the normalization process. | 1 |