function Relationship::getFieldName
Same name in other branches
- 8.9.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getFieldName()
- 10 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getFieldName()
- 11.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getFieldName()
Gets the relationship object's public field name.
Return value
string The relationship's field name.
File
-
core/
modules/ jsonapi/ src/ JsonApiResource/ Relationship.php, line 148
Class
- Relationship
- Represents references from one resource object to other resource object(s).
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getFieldName() {
return $this->fieldName;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.