function clients_flickr_clients_arguments in Web Service Clients 6
Same name and namespace in other branches
- 7 backends/clients_flickr/clients_flickr.module \clients_flickr_clients_arguments()
Implementation of hook_clients_arguments
File
- backends/
clients_flickr/ clients_flickr.module, line 353 - Flickr plugin for Clients module @author Django Beatty - adub
Code
function clients_flickr_clients_arguments($connection) {
if ($connection->type == variable_get('clients_flickr_type', 'Flickr')) {
$arg1 = new stdClass();
$arg1->name = 'argument';
$arg1->title = t('Argument');
$arg1->help = t('Argument to pass to resource');
$args[] = $arg1;
$arg2 = new stdClass();
$arg2->name = 'tag';
$arg2->title = t('Tag');
$arg2->help = t('Tag to pass to resource');
$args[] = $arg2;
return $args;
}
}