You are here

public function CacheDecoratedResource::setPath in RESTful 7.2

Sets the path of the resource.

Parameters

string $path: The path without the RESTful prefix or the version string.

Overrides ResourceDecoratorBase::setPath

File

src/Plugin/resource/Decorators/CacheDecoratedResource.php, line 134
Contains \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResource

Class

CacheDecoratedResource

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

public function setPath($path) {
  $this->subject
    ->setPath($path);
}