You are here

function om_system_tools in OM Tools 6.2

Same name and namespace in other branches
  1. 8.2 tools/system/system.inc \om_system_tools()
  2. 7.2 tools/system/system.inc \om_system_tools()

System Tools Form

File

tools/system/system.inc, line 16
System Tools

Code

function om_system_tools(&$form, $system_defaults = array()) {

  // System Tools
  $system_tools = array();
  $system_tools['system_mediaqueries'] = array(
    '#type' => 'fieldset',
    '#title' => t('Media Queries'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $system_tools['system_mediaqueries'] += om_system_mediaqueries($system_defaults);
  $form['om_system_tools'] = array(
    '#type' => 'fieldset',
    '#title' => t('System'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $form['om_system_tools'] += $system_tools;
  return $form;
}