function twitter_install in Twitter 6.4
Same name and namespace in other branches
- 6.5 twitter.install \twitter_install()
- 6.2 twitter.install \twitter_install()
- 6.3 twitter.install \twitter_install()
- 7.6 twitter.install \twitter_install()
- 7.3 twitter.install \twitter_install()
- 7.4 twitter.install \twitter_install()
- 7.5 twitter.install \twitter_install()
Implementation of hook_install().
1 call to twitter_install()
- twitter_update_6000 in ./
twitter.install - Previous versions of the Twitter module had no database schema. We're safe just running the basic install for update_1.
File
- ./
twitter.install, line 320 - Install, update and uninstall functions for the twitter module.
Code
function twitter_install() {
// Create tables.
drupal_install_schema('twitter');
// Set the weight to 3, making it heaving than Pathauto.
db_query("UPDATE {system} SET weight = 3 WHERE name = 'twitter'");
}