You are here

public function CacheDecoratedDataProvider::setResourcePath in RESTful 7.2

Set the resource path.

Parameters

string $resource_path: The resource path.

Overrides DataProviderInterface::setResourcePath

File

src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php, line 254
Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.

Class

CacheDecoratedDataProvider
Class CacheDecoratedDataProvider.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

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