function clients_connection_drupal_services::testConnectionNodeLoadValidate in Web Service Clients 7.2
Same name and namespace in other branches
- 6.2 connections/clients_drupal/clients_drupal.inc \clients_connection_drupal_services::testConnectionNodeLoadValidate()
Connection test button validate handler: loading a node.
File
- connections/
clients_drupal/ clients_drupal.inc, line 159 - Contains classes for Client connections handlers.
Class
- clients_connection_drupal_services
- Base class for Drupal client connections.
Code
function testConnectionNodeLoadValidate(&$button_form_values) {
if (empty($button_form_values['nid'])) {
form_set_error('buttons][node_load][nid', t('Node id is required for the node retrieval test.'));
}
}