Fix missing utility links block in the header

The patch 0001-utility-links-block-install-theme.patch must be applied
to contrib commons_utility_links module to allow block placement
into different theme region.

Change-Id: I5b26a4ffc0a20b9408b93018ac8d3c91b6a775fd
This commit is contained in:
Marton Kiss 2014-06-12 19:38:16 +02:00
parent 9021401551
commit 8b1ae58755
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ function commons_utility_links_install() {
$utility_block = array(
'module' => 'commons_utility_links',
'delta' => 'commons_utility_links',
'theme' => 'commons_origins',
'theme' => 'openstack',
'visibility' => 0,
'region' => 'header',
'status' => 1,
@ -28,7 +28,7 @@ function commons_utility_links_install() {
->fields(array('cache' => DRUPAL_NO_CACHE))
->condition('delta', 'commons_utility_links')
->condition('module', 'commons_utility_links')
->condition('theme', 'commons_origins')
->condition('theme', 'openstack')
->execute();
}
@ -50,7 +50,7 @@ function commons_utility_links_update_7301() {
))
->condition('delta', 'commons_utility_links')
->condition('module', 'commons_utility_links')
->condition('theme', 'commons_origins')
->condition('theme', 'openstack')
->execute();
cache_clear_all('*', 'cache_block', TRUE);
}