You are here

public function DataProviderInterface::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.

3 methods override DataProviderInterface::discover()
CacheDecoratedDataProvider::discover in src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
Return the discovery information for the given entity.
DataProvider::discover in src/Plugin/resource/DataProvider/DataProvider.php
Return the discovery information for the given entity.
DataProviderDecorator::discover in src/Plugin/resource/DataProvider/DataProviderDecorator.php
Return the discovery information for the given entity.

File

src/Plugin/resource/DataProvider/DataProviderInterface.php, line 25
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderInterface.

Class

DataProviderInterface

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function discover($path = NULL);