public function Relationship::getCardinality in JSON:API 8
Gets the cardinality.
Return value
mixed The cardinality of this relationship field.
File
- src/
Normalizer/ Relationship.php, line 110
Class
- Relationship
- Represents a relationship between resources.
Namespace
Drupal\jsonapi\NormalizerCode
public function getCardinality() {
return $this->cardinality;
}