You are here

public function RestWSFormatInterface::deleteResource in RESTful Web Services 7.2

Same name and namespace in other branches
  1. 7 restws.formats.inc \RestWSFormatInterface::deleteResource()

Delete a resource.

Parameters

RestWSResourceControllerInterface $resourceController: The controller used to update the resource.

int|string $id: The id of the resource that should be deleted.

1 method overrides RestWSFormatInterface::deleteResource()
RestWSBaseFormat::deleteResource in ./restws.formats.inc
Deletes a resource.

File

./restws.formats.inc, line 59
RESTful web services module formats.

Class

RestWSFormatInterface
Interface implemented by formatter implementations for the http client.

Code

public function deleteResource($resourceController, $id);