function nodeblock_update_7104 in Nodeblock 7
`Show the Block title field in the Node Block fieldset` default value, change schema weight.
File
- ./
nodeblock.install, line 217 - Define module install logic.
Code
function nodeblock_update_7104() {
$types = node_type_get_types();
foreach ($types as $type_name => $type) {
if ($var = variable_get('nodeblock_node_overrides_' . $type_name)) {
$var[] = 'block_title_in_fieldset';
variable_set('nodeblock_node_overrides_' . $type_name, $var);
}
}
}