You are here

public function ContentEntityNormalizer::supportsNormalization in Content Synchronization 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Normalizer/ContentEntityNormalizer.php \Drupal\content_sync\Normalizer\ContentEntityNormalizer::supportsNormalization()

@inheritdoc

Overrides NormalizerBase::supportsNormalization

File

src/Normalizer/ContentEntityNormalizer.php, line 243

Class

ContentEntityNormalizer
Adds the file URI to embedded file entities.

Namespace

Drupal\content_sync\Normalizer

Code

public function supportsNormalization($data, $format = NULL) {
  return parent::supportsNormalization($data, $format) && !empty($data->is_content_sync);
}