function hosting_package_update_6202 in Hosting 7.4
Same name and namespace in other branches
- 6.2 package/hosting_package.install \hosting_package_update_6202()
- 7.3 package/hosting_package.install \hosting_package_update_6202()
Call custom functions for block visibility.
File
- package/
hosting_package.install, line 518 - Define database schema and update functions for the package management module.
Code
function hosting_package_update_6202() {
$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',
));
// Set block visibility.
$theme = 'eldir';
install_set_block('views', 'hosting_package_list-block_1', $theme, 'content_bottom', 0, 2, "<?php\nreturn hosting_package_block_visibility();\n?>");
module_disable(array(
'install_profile_api',
));
return $ret;
}