You are here

function hook_wsclient_service_presave in Web service client 7

Act on a web service description being inserted or updated.

This hook is invoked before the web service description is saved to the database.

Parameters

WSClientServiceDescription $service: The web service description that is being inserted or updated.

File

./wsclient.api.php, line 95
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_presave($service) {
  $service->myField = 'foo';
}