You are here

abstract class SyncNormalizerDecoratorBase in Content Synchronization 8.2

Same name and namespace in other branches
  1. 3.0.x src/Plugin/SyncNormalizerDecoratorBase.php \Drupal\content_sync\Plugin\SyncNormalizerDecoratorBase

Base class for Sync normalizer decorator plugins.

Hierarchy

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\Plugin
View 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

Namesort descending Modifiers Type Description Overrides
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
PluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. 92
SyncNormalizerDecoratorBase::decorateDenormalization public function Apply decoration for the denormalization process. Overrides SyncNormalizerDecoratorInterface::decorateDenormalization
SyncNormalizerDecoratorBase::decorateDenormalizedEntity public function Apply decoration to the entity after the denormalization process is done. Overrides SyncNormalizerDecoratorInterface::decorateDenormalizedEntity
SyncNormalizerDecoratorBase::decorateNormalization public function Apply decoration for the normalization process. Overrides SyncNormalizerDecoratorInterface::decorateNormalization 3