function hosting_site_update_6205 in Hosting 7.3
Same name and namespace in other branches
- 6.2 site/hosting_site.install \hosting_site_update_6205()
- 7.4 site/hosting_site.install \hosting_site_update_6205()
Place platform site-list block.
File
- site/
hosting_site.install, line 434 - Define database schema and update functions for the hosting_site module.
Code
function hosting_site_update_6205() {
$ret = array();
// Temporarily enable Install Profile API module and load includes.
module_enable(array(
'install_profile_api',
));
drupal_load('module', 'install_profile_api');
install_include(array(
'block',
));
// Enable block.
$theme = 'eldir';
install_set_block('views', 'hosting_site_list-block_1', $theme, 'content_bottom', 0, 1, 'hosting/c/platform_*');
module_disable(array(
'install_profile_api',
));
return $ret;
}