protected property RelationshipNormalizer::$supportedInterfaceOrClass in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php \Drupal\jsonapi\Normalizer\RelationshipNormalizer::supportedInterfaceOrClass
The interface or class that this Normalizer supports.
Type: string|array
Overrides NormalizerBase::$supportedInterfaceOrClass
File
- core/
modules/ jsonapi/ src/ Normalizer/ RelationshipNormalizer.php, line 18
Class
- RelationshipNormalizer
- Normalizes a JSON:API relationship object.
Namespace
Drupal\jsonapi\NormalizerCode
protected $supportedInterfaceOrClass = Relationship::class;