public function CrudInterface::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.
8 methods override CrudInterface::view()
- CacheDecoratedDataProvider::view in src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php - Read operation.
- DataProviderDbQuery::view in src/
Plugin/ resource/ DataProvider/ DataProviderDbQuery.php - Read operation.
- DataProviderDecorator::view in src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php - Read operation.
- DataProviderEntity::view in src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php - Read operation.
- DataProviderNull::view in src/
Plugin/ resource/ DataProvider/ DataProviderNull.php - Read operation.
File
- src/
Plugin/ resource/ CrudInterface.php, line 48 - Contains \Drupal\restful\Resource\CrudInterface.
Class
Namespace
Drupal\restful\Plugin\resourceCode
public function view($identifier);