You are here

public function ResourceIdentifier::getTypeName in JSON:API 8.2

Gets the ResourceIdentifier's JSON:API resource type name.

Return value

string The JSON:API resource type name.

Overrides ResourceIdentifierInterface::getTypeName

1 call to ResourceIdentifier::getTypeName()
ResourceIdentifier::getResourceType in src/JsonApiResource/ResourceIdentifier.php
Gets the resource identifier's JSON:API resource type.

File

src/JsonApiResource/ResourceIdentifier.php, line 97

Class

ResourceIdentifier
Represents a JSON:API resource identifier object.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getTypeName() {
  return $this->resourceTypeName;
}