function _bootstrap_library_defaults in Bootstrap Library 7
Default settings storage.
1 call to _bootstrap_library_defaults()
- bootstrap_library_install in ./
bootstrap_library.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
- ./
bootstrap_library.install, line 12 - bootstrap_library.install Installation and update functions for the Bootstrap Library Module
Code
function _bootstrap_library_defaults() {
$theme = variable_get('theme_default', NULL);
return array(
'visibility' => array(
'visibility' => 0,
'pages' => 'admin/*',
),
'theme' => array(
'visibility' => 1,
'themes' => array(
$theme => $theme,
),
),
'minimized' => array(
'options' => 1,
),
'files' => array(
'types' => array(
'css' => 'css',
'js' => 'js',
),
),
);
}