You are here

public function Resource::remove in RESTful 7.2

Basic implementation for update.

Parameters

string $path: The resource path.

Overrides ResourceInterface::remove

File

src/Plugin/resource/Resource.php, line 409
Contains \Drupal\restful\Plugin\resource\Resource.

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

public function remove($path) {

  // TODO: Compare this with 1.x logic.
  $this
    ->getDataProvider()
    ->remove($path);
}