function twitter_bootstrap_modal_block_install in Twitter Bootstrap Modal 7.3
Implementation of hook_install(). This will create our system variable defaults. The benefit is that we do not need to pass defaults to variable_get(), which allows centralization of defaults.
File
- twitter_bootstrap_modal_block/
twitter_bootstrap_modal_block.install, line 25 - twitter_bootstrap_modal_block.install Installation and update functions for the Twitter Bootstrap Modal block Module
Code
function twitter_bootstrap_modal_block_install() {
variable_set('twitter_bootstrap_modal_block_settings', _twitter_bootstrap_modal_block_defaults());
}