function clients_drupal_clients_arguments in Web Service Clients 6
Same name and namespace in other branches
- 7 backends/clients_drupal/clients_drupal.module \clients_drupal_clients_arguments()
Implementation of hook_clients_arguments
File
- backends/
clients_drupal/ clients_drupal.module, line 372 - Drupal Services plugin for Clients module @author Django Beatty - adub
Code
function clients_drupal_clients_arguments($connection) {
// $connection = clients_connection_load((int)$source['connection']);
if ($connection->type == variable_get('clients_drupal_type', 'Drupal Services')) {
$arg = new stdClass();
$arg->name = 'argument';
$arg->title = t('Argument');
$arg->help = t('Argument to pass to resource');
return array(
$arg,
);
}
}