You are here

function _views_bulk_operations_log in Views Bulk Operations (VBO) 6.3

Same name and namespace in other branches
  1. 7.3 views_bulk_operations.module \_views_bulk_operations_log()

Helper function to log an information.

2 calls to _views_bulk_operations_log()
views_bulk_operations_add_actions in ./views_bulk_operations.module
API function to add actions to a VBO.
_views_bulk_operations_batch_finished in ./views_bulk_operations.module
Helper function to cleanup Batch API operations.

File

./views_bulk_operations.module, line 1360
Allows operations to be performed on items selected in a view.

Code

function _views_bulk_operations_log($msg) {
  if (function_exists('drush_log')) {
    drush_log(strip_tags($msg), 'ok');
  }
  else {
    drupal_set_message($msg);
  }
}