public function ResourceDecoratorBase::replace in RESTful 7.2
Basic implementation for update.
Parameters
string $path: The resource path.
Return value
array An array of structured data for the thing that was replaced.
Overrides ResourceInterface::replace
1 method overrides ResourceDecoratorBase::replace()
- CacheDecoratedResource::replace in src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php - Basic implementation for update.
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php, line 198 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.
Class
- ResourceDecoratorBase
- Class ResourceDecoratorBase.
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function replace($path) {
return $this->subject
->replace($path);
}