function views_pdf_rules_action_info in Views PDF 7
Same name and namespace in other branches
- 8 views_pdf.rules.inc \views_pdf_rules_action_info()
- 6 views_pdf.rules.inc \views_pdf_rules_action_info()
- 7.3 views_pdf.rules.inc \views_pdf_rules_action_info()
- 7.2 views_pdf.rules.inc \views_pdf_rules_action_info()
Implements hook_rules_action_info().
File
- ./
views_pdf.rules.inc, line 12 - Rules integration of the mimemail and the PDF Views module.
Code
function views_pdf_rules_action_info() {
$items = array();
$items['views_pdf_rules_action_save'] = array(
'label' => t('Save PDF as file on server'),
'group' => t('Views PDF'),
'parameter' => array(
'views_pdf' => array(
'type' => 'text',
'label' => t('View'),
'options list' => 'views_pdf_rules_view_list',
'description' => t('You need to enter the View and the Display to use. Use the ids of them and separate them by a ":".'),
),
'arguments' => array(
'type' => 'text',
'label' => t('Views Arguments'),
'optional' => TRUE,
'description' => t('Place on each line one argument.'),
),
'path' => array(
'type' => 'text',
'label' => t('Store Path'),
'optional' => FALSE,
'description' => t('Enter an relative path where the view should be saved. You may use some tokens.'),
),
),
);
return $items;
}