function om_block_tools in OM Tools 7.2
Same name and namespace in other branches
- 8.2 tools/block/block.inc \om_block_tools()
- 6.2 tools/block/block.inc \om_block_tools()
Block Tools Form
File
- tools/
block/ block.inc, line 16 - Block Tools
Code
function om_block_tools(&$form, $block_defaults = array()) {
// Block Tools
$block_tools = array();
$block_tools['block_classes'] = array(
'#type' => 'fieldset',
'#title' => t('Block Classes'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$block_tools['block_classes'] += om_block_classes($block_defaults);
$form['om_block_tools'] = array(
'#type' => 'fieldset',
'#title' => t('Block'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$form['om_block_tools'] += $block_tools;
return $form;
}