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
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function view($identifier) {
return array();
}