You are here

public function DataProviderDecorator::view in RESTful 7.2

Read operation.

Parameters

mixed $identifier: The ID of thing being viewed.

Return value

array An array of data for the thing being viewed.

Overrides CrudInterface::view

File

src/Plugin/resource/DataProvider/DataProviderDecorator.php, line 161
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function view($identifier) {
  return $this->decorated
    ->view($identifier);
}