function spaces_form_system_site_information_settings_alter in Spaces 7.3
Same name and namespace in other branches
- 6.3 spaces.overrides.inc \spaces_form_system_site_information_settings_alter()
- 7 spaces.overrides.inc \spaces_form_system_site_information_settings_alter()
Implements 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['front_page']['site_frontpage']['#disabled'] = TRUE;
$form['front_page']['site_frontpage']['#value'] = $form['front_page']['site_frontpage']['#default_value'];
$form['front_page']['site_frontpage']['#description'] = t('The front page is controlled by the spaces module and can be set !link.', array(
'!link' => l(t('here'), 'features'),
));
}