public function IdsCleaner::decorateNormalization in Content Synchronization 3.0.x
Same name and namespace in other branches
- 8.2 src/Plugin/SyncNormalizerDecorator/IdsCleaner.php \Drupal\content_sync\Plugin\SyncNormalizerDecorator\IdsCleaner::decorateNormalization()
Parameters
array $normalized_entity:
\Drupal\Core\Entity\ContentEntityInterface $entity:
$format:
array $context:
Overrides SyncNormalizerDecoratorBase::decorateNormalization
File
- src/
Plugin/ SyncNormalizerDecorator/ IdsCleaner.php, line 29
Class
- IdsCleaner
- Provides a decorator for setting the alias to entity.
Namespace
Drupal\content_sync\Plugin\SyncNormalizerDecoratorCode
public function decorateNormalization(array &$normalized_entity, ContentEntityInterface $entity, $format, array $context = []) {
$this
->cleanReferenceIds($normalized_entity, $entity);
$this
->cleanIds($normalized_entity, $entity);
}