abstract class SyncNormalizerDecoratorBase in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/Plugin/SyncNormalizerDecoratorBase.php \Drupal\content_sync\Plugin\SyncNormalizerDecoratorBase
Base class for Sync normalizer decorator plugins.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\content_sync\Plugin\SyncNormalizerDecoratorBase implements SyncNormalizerDecoratorInterface
Expanded class hierarchy of SyncNormalizerDecoratorBase
3 files declare their use of SyncNormalizerDecoratorBase
- Alias.php in src/
Plugin/ SyncNormalizerDecorator/ Alias.php - IdsCleaner.php in src/
Plugin/ SyncNormalizerDecorator/ IdsCleaner.php - Parents.php in src/
Plugin/ SyncNormalizerDecorator/ Parents.php
File
- src/
Plugin/ SyncNormalizerDecoratorBase.php, line 11
Namespace
Drupal\content_sync\PluginView source
abstract class SyncNormalizerDecoratorBase extends PluginBase implements SyncNormalizerDecoratorInterface {
/**
* {@inheritdoc}
*/
public function decorateNormalization(array &$normalized_entity, ContentEntityInterface $entity, $format, array $context = []) {
}
/**
* {@inheritdoc}
*/
public function decorateDenormalization(array &$normalized_entity, $type, $format, array $context = []) {
}
/**
* {@inheritdoc}
*/
public function decorateDenormalizedEntity(ContentEntityInterface $entity, array $normalized_entity, $format, array $context = []) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
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 |
SyncNormalizerDecoratorBase:: |
public | function |
Apply decoration for the denormalization process. Overrides SyncNormalizerDecoratorInterface:: |
|
SyncNormalizerDecoratorBase:: |
public | function |
Apply decoration to the entity after the denormalization process is done. Overrides SyncNormalizerDecoratorInterface:: |
|
SyncNormalizerDecoratorBase:: |
public | function |
Apply decoration for the normalization process. Overrides SyncNormalizerDecoratorInterface:: |
3 |