You are here

function views_bulk_operations_remove_book_action in Views Bulk Operations (VBO) 6

File

actions/book.action.inc, line 64

Code

function views_bulk_operations_remove_book_action($node, $context) {
  $node->book['module'] = 'book';
  book_nodeapi($node, 'delete', $a3 = NULL, $a4 = NULL);
  drupal_set_message(t('%node was removed from outline.', array(
    '%node' => $node->title,
    '%mlid' => $node->book['mlid'],
  )));
}