You are here

function spaces_form_system_site_information_settings_alter in Spaces 6.3

Same name and namespace in other branches
  1. 7.3 spaces.overrides.inc \spaces_form_system_site_information_settings_alter()
  2. 7 spaces.overrides.inc \spaces_form_system_site_information_settings_alter()

Implementation of hook_form_alter() for system_site_information_settings.

File

./spaces.overrides.inc, line 21

Code

function spaces_form_system_site_information_settings_alter(&$form, &$form_state) {
  $form['site_frontpage']['#disabled'] = TRUE;
  $form['site_frontpage']['#value'] = $form['site_frontpage']['#default_value'];
  $form['site_frontpage']['#description'] = t('The front page is controlled by the spaces module and can be set !link.', array(
    '!link' => l(t('here'), 'features'),
  ));
}