You are here

function simplenews_install in Simplenews 7

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.2 simplenews.install \simplenews_install()
  7. 3.x simplenews.install \simplenews_install()

Implements hook_install().

File

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

Code

function simplenews_install() {
  _simplenews_init_simplenews_vocabulary();
  _simplenews_init_simplenews_category();

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