You are here

function system_module_form_alter in Util 6

Same name and namespace in other branches
  1. 6.3 system_module.module \system_module_form_alter()
  2. 6.2 system_module.module \system_module_form_alter()

File

./system_module.module, line 69

Code

function system_module_form_alter(&$form, $form_state, $form_id) {
  switch ($form_id) {
    case 'system_modules':

      //a neat idea to allow access to the important module settings directly from the modules page, saves page loads from navigting to site configuration etc etc.
      $form['#theme'] = 'system_modules_theme';
      $form['description']['system_module']['#value'] = t('<a href="@url">Set default</a> collapsed/expanded state for system modules fieldsets', array(
        '@url' => url('admin/settings/util/sysmods'),
      ));
      break;
  }
}