function clients_connection_drupal_services_6_2::testConnectionNodeLoadValidate in Web Service Clients 7
Connection test button validate handler: loading a node.
File
- backends/
clients_drupal/ clients_drupal.inc, line 587 - Defines methods and calls to Drupal services
Class
- clients_connection_drupal_services_6_2
- Drupal client for services on a Drupal 6 site for Services 6.x-2.x.
Code
function testConnectionNodeLoadValidate(&$button_form_values) {
if (empty($button_form_values['nid'])) {
form_set_error('buttons][node_load][nid', 'Node id is required for the node retrieval test.');
}
}