public function ContentEntityNormalizer::supportsNormalization in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/Normalizer/ContentEntityNormalizer.php \Drupal\content_sync\Normalizer\ContentEntityNormalizer::supportsNormalization()
@inheritdoc
Overrides NormalizerBase::supportsNormalization
File
- src/
Normalizer/ ContentEntityNormalizer.php, line 209
Class
- ContentEntityNormalizer
- Adds the file URI to embedded file entities.
Namespace
Drupal\content_sync\NormalizerCode
public function supportsNormalization($data, $format = NULL) {
return parent::supportsNormalization($data, $format) && !empty($data->is_content_sync);
}