You are here

public function ResourceFieldResourceInterface::getResourceId in RESTful 7.2

Gets the ID on the referenced resource.

Parameters

DataInterpreterInterface $interpreter: The data interpreter to get the compound ID.

Return value

string|string[] The identifier(s) used to access the resource.

1 method overrides ResourceFieldResourceInterface::getResourceId()
ResourceFieldResource::getResourceId in src/Plugin/resource/Field/ResourceFieldResource.php
Gets the ID on the referenced resource.

File

src/Plugin/resource/Field/ResourceFieldResourceInterface.php, line 24
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldResourceInterface.

Class

ResourceFieldResourceInterface

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function getResourceId(DataInterpreterInterface $interpreter);