You are here

public function CacheDecoratedResource::remove in RESTful 7.2

Basic implementation for update.

Parameters

string $path: The resource path.

Overrides ResourceDecoratorBase::remove

File

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

Class

CacheDecoratedResource

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

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