You are here

public function CacheDecoratedDataProvider::remove in RESTful 7.2

Delete operation.

Parameters

mixed $identifier: The ID of thing to be removed.

Overrides CrudInterface::remove

File

src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php, line 225
Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.

Class

CacheDecoratedDataProvider
Class CacheDecoratedDataProvider.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function remove($identifier) {
  $this
    ->clearRenderedCache($this
    ->getCacheFragments($identifier));
  $this->subject
    ->remove($identifier);
}