You are here

public function DataProviderResource::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/DataProviderResource.php, line 125
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderResource.

Class

DataProviderResource
This data provider creates a resource and uses it to access the data.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function remove($identifier) {
  $this->referencedDataProvider
    ->remove($identifier);
}