public function CacheDecoratedDataProvider::discover in RESTful 7.2
Return the discovery information for the given entity.
Parameters
string $path: The request path.
Return value
array An array of data for the thing being discovered.
Overrides DataProviderInterface::discover
File
- src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php, line 69 - Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.
Class
- CacheDecoratedDataProvider
- Class CacheDecoratedDataProvider.
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function discover($path = NULL) {
return $this->subject
->discover($path);
}