You are here

function scrollreveal_install in Scroll Reveal 7.2

Same name and namespace in other branches
  1. 7 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());
}