views_bulk_operations.rules.inc in Views Bulk Operations (VBO) 6.3
File
views_bulk_operations.rules.inc
View source
<?php
function views_bulk_operations_rules_action_info_alter(&$actions) {
foreach (module_invoke_all('views_bulk_operations_object_info') as $type => $info) {
$actions['views_bulk_operations_action_' . $type] = array(
'label' => t('Execute a VBO programmatically on !type', array(
'!type' => $type,
)),
'arguments' => array(
'object' => array(
'type' => $type,
'default value' => NULL,
),
),
'module' => 'Views Bulk Operations',
'eval input' => array(),
'base' => 'rules_core_action_execute',
'action_name' => 'views_bulk_operations_action',
'configurable' => TRUE,
);
}
}