You are here

public function DataProviderResource::getIndexIds in RESTful 7.2

Returns the ID to render for the current index GET request.

Return value

array Numeric array containing the identifiers to be sent to viewMultiple.

Overrides DataProviderInterface::getIndexIds

File

src/Plugin/resource/DataProvider/DataProviderResource.php, line 90
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderResource.

Class

DataProviderResource
This data provider creates a resource and uses it to access the data.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function getIndexIds() {
  return $this->referencedDataProvider
    ->getIndexIds();
}