function forward_install in Forward 7
Same name and namespace in other branches
- 8.3 forward.install \forward_install()
- 8 forward.install \forward_install()
- 8.2 forward.install \forward_install()
- 5 forward.install \forward_install()
- 6 forward.install \forward_install()
- 7.3 forward.install \forward_install()
- 7.2 forward.install \forward_install()
- 4.x forward.install \forward_install()
- 4.0.x forward.install \forward_install()
@todo Please document this function.
See also
File
- ./
forward.install, line 13 - Install, update and uninstall functions for the forward module.
Code
function forward_install() {
// TODO The drupal_(un)install_schema functions are called automatically in D7.;
// drupal_install_schema('forward');
variable_set('forward_theme_template', 1);
$mail_systems = variable_get('mail_system', array(
'default-system' => 'DefaultMailSystem',
));
$mail_systems['forward'] = 'ForwardMailSystem';
variable_set('mail_system', $mail_systems);
}