function uc_catalog_block_save in Ubercart 7.3
Implements hook_block_save().
Saves the catalog block settings.
File
- uc_catalog/
uc_catalog.module, line 316 - Ubercart Catalog module.
Code
function uc_catalog_block_save($delta = '', $edit = array()) {
if ($delta == 'catalog') {
variable_set('uc_catalog_block_title', $edit['uc_catalog_block_title']);
variable_set('uc_catalog_expand_categories', $edit['uc_catalog_expand_categories']);
variable_set('uc_catalog_block_nodecount', $edit['uc_catalog_block_nodecount']);
}
}