function ulogin_rules_action_info in uLogin (advanced version) 7
Same name and namespace in other branches
- 8 ulogin.rules.inc \ulogin_rules_action_info()
Implements hook_rules_action_info().
File
- ./
ulogin.rules.inc, line 10 - Functions for integrating the Rules module with uLogin.
Code
function ulogin_rules_action_info() {
return array(
'ulogin_url_managed_file' => array(
'label' => t('Save remote file to managed file'),
'group' => t('uLogin'),
'parameter' => array(
'url' => array(
'label' => t('URL'),
'type' => 'uri',
'description' => t('URL to the remote file.'),
),
'directory' => array(
'label' => t('File directory'),
'type' => 'text',
'description' => t('File directory to save remote file to.'),
),
),
'provides' => array(
'file' => array(
'label' => 'Managed file entity',
'type' => 'file',
),
),
),
);
}