You are here

public function ResourceIdentifierInterface::getId in JSON:API 8.2

Gets the resource identifier's ID.

Return value

string A resource ID.

1 method overrides ResourceIdentifierInterface::getId()
ResourceIdentifier::getId in src/JsonApiResource/ResourceIdentifier.php
Gets the ResourceIdentifier's ID.

File

src/JsonApiResource/ResourceIdentifierInterface.php, line 27

Class

ResourceIdentifierInterface
An interface for identifying a related resource.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getId();