You are here

public function DataProviderDecorator::setResourcePath in RESTful 7.2

Set the resource path.

Parameters

string $resource_path: The resource path.

Overrides DataProviderInterface::setResourcePath

File

src/Plugin/resource/DataProvider/DataProviderDecorator.php, line 210
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function setResourcePath($resource_path) {
  $this->decorated
    ->setResourcePath($resource_path);
}