You are here

public function ResourceInterface::setPath in RESTful 7.2

Sets the path of the resource.

Parameters

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

2 methods override ResourceInterface::setPath()
Resource::setPath in src/Plugin/resource/Resource.php
Sets the path of the resource.
ResourceDecoratorBase::setPath in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Sets the path of the resource.

File

src/Plugin/resource/ResourceInterface.php, line 107
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function setPath($path);