1 standard.profile | standard_form_install_configure_submit($form, &$form_state) |
Extra submit handler install_configure_form().
File
- core/
profiles/ standard/ standard.profile, line 22 - Enables modules and site configuration for a standard site installation.
Code
function standard_form_install_configure_submit($form, &$form_state) {
// Update the home page hero block to use the site name.
$layout = layout_load('home');
foreach ($layout->content as &$block) {
if ($block->delta === 'hero') {
$block->settings['title'] = st('Welcome to !sitename!', array('!sitename' => $form_state['values']['site_name']));
break;
}
}
$layout->save();
}