function fillpdf_rules_event_info in FillPDF 7.2
Same name and namespace in other branches
- 7 fillpdf.rules.inc \fillpdf_rules_event_info()
Implements hook_rules_event_info(). @todo: Define the "FillPDF has filled the PDF" event @todo: Define the following events:
- FillPDF is about to prepare PDF-filling data (fillpdf_merge_pre_merge)
- FillPDF is ready to fill the PDF (fillpdf_merge_fields_alter)
File
- ./
fillpdf.rules.inc, line 38 - fillpdf.rules.inc
Code
function fillpdf_rules_event_info() {
$defaults = array(
'group' => t('FillPDF'),
'module' => 'fillpdf',
);
return array(
'fillpdf_merge_pre_handle' => $defaults + array(
'label' => t('Filled PDF is about to be handled'),
'variables' => array(
'fillpdf' => array(
'type' => 'fillpdf',
'label' => 'FillPDF metadata',
),
),
),
);
}