Change the Bootswatch theme to Simplex 3.3.7.
This commit is contained in:
parent
41f1f9d612
commit
b33c82f014
13
farm.install
13
farm.install
|
@ -510,6 +510,19 @@ function farm_update_7022(&$sandbox) {
|
|||
_farm_update_enable_modules(array('field_group'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Change the Bootswatch theme to Simplex 3.3.7.
|
||||
*/
|
||||
function farm_update_7023(&$sandbox) {
|
||||
$theme_settings = variable_get('theme_farm_theme_settings', array());
|
||||
$theme_settings['bootstrap_cdn_provider'] = 'custom';
|
||||
$theme_settings['bootstrap_cdn_custom_css_min'] = '//cdn.jsdelivr.net/bootswatch/3.3.7/simplex/bootstrap.css';
|
||||
$theme_settings['bootstrap_cdn_custom_css'] = '//cdn.jsdelivr.net/bootswatch/3.3.7/simplex/bootstrap.min.css';
|
||||
$theme_settings['bootstrap_cdn_custom_js'] = '//cdn.jsdelivr.net/bootstrap/3.3.7/js/bootstrap.js';
|
||||
$theme_settings['bootstrap_cdn_custom_js_min'] = '//cdn.jsdelivr.net/bootstrap/3.3.7/js/bootstrap.min.js';
|
||||
variable_set('theme_farm_theme_settings', $theme_settings);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update helper function: enable modules.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue