You are here

function _views_bulk_operations_get in Views Bulk Operations (VBO) 5

1 call to _views_bulk_operations_get()
_views_bulk_operations_get_operations in ./views_bulk_operations.module
Description Fetch available operations.

File

./views_bulk_operations.module, line 961
Allow bulk node operations directly within views.

Code

function _views_bulk_operations_get($name, $default) {
  $value = db_result(db_query("SELECT value FROM {vbo_settings} WHERE name='%s'", $name));
  return $value === FALSE ? $default : unserialize($value);
}