function scrollreveal_install in Scroll Reveal 7
Same name and namespace in other branches
- 7.2 scrollreveal.install \scrollreveal_install()
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
- ./
scrollreveal.install, line 42 - scrollreveal.install Installation and update functions for the ScrollReveal Module
Code
function scrollreveal_install() {
variable_set('scrollreveal_settings', _scrollreveal_defaults());
}