You are here

function services_client_node_delete in Services Client 7

Implements hook_node_delete().

File

./services_client.module, line 325
Services client module allows to push different types of objects on different types of events such as node_save, user_save to remote masters.

Code

function services_client_node_delete($node) {

  // Ensure queueing deletion of node
  $node->_services_client = array(
    'origin' => $_SERVER['SERVER_NAME'],
  );
  services_client_data_process($node, 'node_delete');
}