You are here

public function Relationship::getPropertyName in JSON:API 8

Gets the field name.

Return value

string The name of the relationship property.

File

src/Normalizer/Relationship.php, line 148

Class

Relationship
Represents a relationship between resources.

Namespace

Drupal\jsonapi\Normalizer

Code

public function getPropertyName() {
  return $this->propertyName;
}