You are here

function forward_install in Forward 7

Same name and namespace in other branches
  1. 8.3 forward.install \forward_install()
  2. 8 forward.install \forward_install()
  3. 8.2 forward.install \forward_install()
  4. 5 forward.install \forward_install()
  5. 6 forward.install \forward_install()
  6. 7.3 forward.install \forward_install()
  7. 7.2 forward.install \forward_install()
  8. 4.x forward.install \forward_install()
  9. 4.0.x forward.install \forward_install()

@todo Please document this function.

See also

http://drupal.org/node/1354

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);
}