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:
parent
9021401551
commit
8b1ae58755
@ -13,7 +13,7 @@ function commons_utility_links_install() {
|
|||||||
$utility_block = array(
|
$utility_block = array(
|
||||||
'module' => 'commons_utility_links',
|
'module' => 'commons_utility_links',
|
||||||
'delta' => 'commons_utility_links',
|
'delta' => 'commons_utility_links',
|
||||||
'theme' => 'commons_origins',
|
'theme' => 'openstack',
|
||||||
'visibility' => 0,
|
'visibility' => 0,
|
||||||
'region' => 'header',
|
'region' => 'header',
|
||||||
'status' => 1,
|
'status' => 1,
|
||||||
@ -28,7 +28,7 @@ function commons_utility_links_install() {
|
|||||||
->fields(array('cache' => DRUPAL_NO_CACHE))
|
->fields(array('cache' => DRUPAL_NO_CACHE))
|
||||||
->condition('delta', 'commons_utility_links')
|
->condition('delta', 'commons_utility_links')
|
||||||
->condition('module', 'commons_utility_links')
|
->condition('module', 'commons_utility_links')
|
||||||
->condition('theme', 'commons_origins')
|
->condition('theme', 'openstack')
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ function commons_utility_links_update_7301() {
|
|||||||
))
|
))
|
||||||
->condition('delta', 'commons_utility_links')
|
->condition('delta', 'commons_utility_links')
|
||||||
->condition('module', 'commons_utility_links')
|
->condition('module', 'commons_utility_links')
|
||||||
->condition('theme', 'commons_origins')
|
->condition('theme', 'openstack')
|
||||||
->execute();
|
->execute();
|
||||||
cache_clear_all('*', 'cache_block', TRUE);
|
cache_clear_all('*', 'cache_block', TRUE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user