You are here

function hosting_site_update_6205 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 site/hosting_site.install \hosting_site_update_6205()
  2. 7.3 site/hosting_site.install \hosting_site_update_6205()

Place platform site-list block.

File

site/hosting_site.install, line 390

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;
}