function ResourceIdentifierInterface::getTypeName

Same name and namespace in other branches
  1. 8.9.x core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getTypeName()
  2. 10 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getTypeName()
  3. 11.x core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getTypeName()

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

Return value

string The JSON:API resource type name.

1 method overrides ResourceIdentifierInterface::getTypeName()
ResourceIdentifier::getTypeName in core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
Gets the ResourceIdentifier's JSON:API resource type name.

File

core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php, line 35

Class

ResourceIdentifierInterface
An interface for identifying a related resource.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getTypeName();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.