You are here

public function ResourceIdentifierInterface::getId in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getId()

Gets the resource identifier's ID.

Return value

string A resource ID.

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

File

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

Class

ResourceIdentifierInterface
An interface for identifying a related resource.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getId();