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\DataProviderCode
public function remove($identifier) {
$this
->clearRenderedCache($this
->getCacheFragments($identifier));
$this->subject
->remove($identifier);
}