function publication_date_install in Publication Date 6
Same name and namespace in other branches
- 8.2 publication_date.install \publication_date_install()
- 8 publication_date.install \publication_date_install()
- 7.2 publication_date.install \publication_date_install()
- 7 publication_date.install \publication_date_install()
Implementation of hook_install().
File
- ./
publication_date.install, line 44 - @author Clever Age @author Emmanuelle Gouleau @author Tristan Marly
Code
function publication_date_install() {
// create tables
drupal_install_schema('publication_date');
// update existing nodes
_publication_date_update_existing();
// The hooks of this module must be called after some other modules (scheduler, ...)
update_sql("UPDATE {system} SET weight = 99 WHERE name = 'publication_date'");
}