function book_helper_action_info in Book helper 7
Action to provide an "Add to book" function for VBO.
This is similar to VBO's built-in "Move to book", but avoids marking the node as updated.
Implements hook_action_info().
File
- ./
book_helper.module, line 496 - Improves Drupal's core book module's functionality.
Code
function book_helper_action_info() {
$actions = array();
$actions['book_helper_action'] = array(
'type' => 'node',
'label' => t('Add to book'),
'vbo_configurable' => TRUE,
'configurable' => TRUE,
'behavior' => array(
'views_property',
),
'triggers' => array(
'any',
),
);
return $actions;
}