You are here

public function DataProviderNull::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/DataProviderNull.php, line 30
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderNull.

Class

DataProviderNull

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function view($identifier) {
  return array();
}