function _views_bulk_operations_report_error in Views Bulk Operations (VBO) 7.3
Same name and namespace in other branches
- 6.3 views_bulk_operations.module \_views_bulk_operations_report_error()
Helper function to report an error.
1 call to _views_bulk_operations_report_error()
- views_bulk_operations_drush_execute in ./
views_bulk_operations.drush.inc - Implementation of 'vbo execute' command.
File
- ./
views_bulk_operations.module, line 1343 - Allows operations to be performed on items selected in a view.
Code
function _views_bulk_operations_report_error($msg, $arg) {
watchdog('views bulk operations', $msg, $arg, WATCHDOG_ERROR);
if (function_exists('drush_set_error')) {
drush_set_error('VIEWS_BULK_OPERATIONS_EXECUTION_ERROR', strip_tags(dt($msg, $arg)));
}
}