You are here

public function ResourceInterface::doDelete in RESTful 7.2

Shorthand method to perform a quick DELETE request.

Parameters

string $path: The resource path.

Throws

\Drupal\restful\Exception\BadRequestException When the path is not present.

2 methods override ResourceInterface::doDelete()
Resource::doDelete in src/Plugin/resource/Resource.php
Shorthand method to perform a quick DELETE request.
ResourceDecoratorBase::doDelete in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Shorthand method to perform a quick DELETE request.

File

src/Plugin/resource/ResourceInterface.php, line 451
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function doDelete($path);