function ResourceIdentifierInterface::getId

Same name and namespace in other branches
  1. 8.9.x core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getId()
  2. 10 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getId()
  3. 11.x 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();

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