You are here

function twitter_block_install in Twitter Block 6

Implementation of hook_install().

File

./twitter_block.install, line 79
Install, update and uninstall functions for the twitter_block module.

Code

function twitter_block_install() {
  drupal_install_schema('twitter_block');
  $result = db_query("INSERT INTO {twitter_block} (delta, search_type, search_string, default_title) VALUES ('default', 'searchHashtag', 'Drupal', 'Discussions on Twitter')");
}