You are here

function _views_bulk_operations_set in Views Bulk Operations (VBO) 5

2 calls to _views_bulk_operations_set()
views_bulk_operations_view_settings_submit in ./views_bulk_operations.module
_views_bulk_operations_get_operations in ./views_bulk_operations.module
Description Fetch available operations.

File

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

Code

function _views_bulk_operations_set($name, $value) {
  db_query("DELETE FROM {vbo_settings} WHERE name='%s'", $name);
  db_query("INSERT INTO {vbo_settings} (name, value) VALUES ('%s', '%s')", $name, serialize($value));
}