You are here

function publication_date_install in Publication Date 8

Same name and namespace in other branches
  1. 8.2 publication_date.install \publication_date_install()
  2. 6 publication_date.install \publication_date_install()
  3. 7.2 publication_date.install \publication_date_install()
  4. 7 publication_date.install \publication_date_install()

Implements hook_install().

File

./publication_date.install, line 11
Installation functions for the Publication Date module.

Code

function publication_date_install() {

  // Set publication dates for existing nodes.
  _publication_date_update_existing();

  // This module must be called after some other modules (i.e. Scheduler).
  module_set_weight('publication_date', 99);
}