function CollectRelationshipMetaEvent::getRelationshipFieldName
Gets the relationship field.
Return value
string The relationship field name.
File
-
core/
modules/ jsonapi/ src/ Events/ CollectRelationshipMetaEvent.php, line 62
Class
- CollectRelationshipMetaEvent
- Event for collecting the relationship metadata of a JSON:API resource object.
Namespace
Drupal\jsonapi\EventsCode
public function getRelationshipFieldName() : string {
return $this->relationshipFieldName;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.