function views_bulk_operations_modify_action_info in Views Bulk Operations (VBO) 7.3
Implements hook_action_info().
File
- actions/
modify.action.inc, line 14 - VBO action to modify entity values (properties and fields).
Code
function views_bulk_operations_modify_action_info() {
return array(
'views_bulk_operations_modify_action' => array(
'type' => 'entity',
'label' => t('Modify entity values'),
'behavior' => array(
'changes_property',
),
// This action only works when invoked through VBO. That's why it's
// declared as non-configurable to prevent it from being shown in the
// "Create an advanced action" dropdown on admin/config/system/actions.
'configurable' => FALSE,
'vbo_configurable' => TRUE,
'triggers' => array(
'any',
),
),
);
}