public function ContentEntityNormalizer::supportsNormalization in Content Synchronization 3.0.x
Same name and namespace in other branches
- 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\NormalizerCode
public function supportsNormalization($data, $format = NULL) {
return parent::supportsNormalization($data, $format) && !empty($data->is_content_sync);
}