public function ResourceDecoratorBase::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 ResourceInterface::setPath
3 calls to ResourceDecoratorBase::setPath()
- ResourceDecoratorBase::doDelete in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Shorthand method to perform a quick DELETE request.
- ResourceDecoratorBase::doGet in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Shorthand method to perform a quick GET request.
- ResourceDecoratorBase::doWrite in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php
1 method overrides ResourceDecoratorBase::setPath()
- CacheDecoratedResource::setPath in src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php - Sets the path of the resource.
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php, line 114 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.
Class
- ResourceDecoratorBase
- Class ResourceDecoratorBase.
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function setPath($path) {
$this->subject
->setPath($path);
}