You are here

public function DataProviderVariable::remove in RESTful 7.2

Delete operation.

Parameters

mixed $identifier: The ID of thing to be removed.

Overrides CrudInterface::remove

1 call to DataProviderVariable::remove()
DataProviderVariable::update in modules/restful_example/src/Plugin/resource/variables/DataProviderVariable.php
Update operation.

File

modules/restful_example/src/Plugin/resource/variables/DataProviderVariable.php, line 138
Contains \Drupal\restful_example\Plugin\resource\variables\DataProviderVariable.

Class

DataProviderVariable
Class DataProviderVariable.

Namespace

Drupal\restful_example\Plugin\resource\variables

Code

public function remove($identifier) {
  variable_del($identifier);
}