function views_atom_rules_action_info in Views Atom 6
Same name and namespace in other branches
- 7 views_atom.rules.inc \views_atom_rules_action_info()
Implementation of hook_rules_action_info
File
- ./
views_atom.rules.inc, line 6
Code
function views_atom_rules_action_info() {
$actions['views_atom_rules_action_add_to_feed'] = array(
'label' => t('Add an entity to a feed'),
'arguments' => array(
'node' => array(
'type' => 'node',
'label' => t('Node'),
),
),
'module' => 'Views Atom',
);
$actions['views_atom_rules_action_add_nids_to_feed'] = array(
'label' => t('Add multiple nids to a feed'),
'arguments' => array(
'nids' => array(
'type' => 'icalinstance_nids',
'label' => t('Nids'),
),
),
'module' => 'Views Atom',
);
return $actions;
}