You are here

function simplenews_install in Simplenews 7.2

Same name and namespace in other branches
  1. 8.2 simplenews.install \simplenews_install()
  2. 8 simplenews.install \simplenews_install()
  3. 5 simplenews.install \simplenews_install()
  4. 6.2 simplenews.install \simplenews_install()
  5. 6 simplenews.install \simplenews_install()
  6. 7 simplenews.install \simplenews_install()
  7. 3.x simplenews.install \simplenews_install()

Implements hook_install().

File

./simplenews.install, line 327
Install, update and uninstall functions for the simplenews module

Code

function simplenews_install() {
  _simplenews_init_default_newsletter();

  // add nodetype with newsletter vocabulary
  _simplenews_install_nodetype();
}