You are here

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

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function discover($path = NULL) {
  return $this->decorated
    ->discover($path);
}