public function DataProviderInterface::setResourcePath in RESTful 7.2
Set the resource path.
Parameters
string $resource_path: The resource path.
3 methods override DataProviderInterface::setResourcePath()
- CacheDecoratedDataProvider::setResourcePath in src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php - Set the resource path.
- DataProvider::setResourcePath in src/
Plugin/ resource/ DataProvider/ DataProvider.php - Set the resource path.
- DataProviderDecorator::setResourcePath in src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php - Set the resource path.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderInterface.php, line 185 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function setResourcePath($resource_path);