public function ResourceDecoratorBase::update 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 updated.
Overrides ResourceInterface::update
1 method overrides ResourceDecoratorBase::update()
- CacheDecoratedResource::update in src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php - Basic implementation for update.
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php, line 191 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.
Class
- ResourceDecoratorBase
- Class ResourceDecoratorBase.
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function update($path) {
return $this->subject
->update($path);
}