You are here

function hook_wsclient_service_delete in Web service client 7

Respond to a web service description deletion.

This hook is invoked after the web service description has been removed from the database.

Parameters

WSClientServiceDescription $service: The web service description that is being deleted.

File

./wsclient.api.php, line 124
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document web service descriptions in the standard Drupal manner.

Code

function hook_wsclient_service_delete($service) {
  db_delete('mytable')
    ->condition('id', $service->id)
    ->execute();
}