Revision 0501ab2c
Added by Andreas Kohlbecker almost 3 years ago
modules/cdm_dataportal/ext_links/ext_links.install | ||
---|---|---|
112 | 112 |
ext_links_template_links_update(); |
113 | 113 |
$tasks_performed[] = "ext_link template links updated."; |
114 | 114 |
|
115 |
$block_info = ext_links_block_info(); |
|
116 |
db_update("block") |
|
117 |
->fields([ |
|
118 |
'pages' => $block_info['0']['pages'], |
|
119 |
'visibility' => 1 |
|
120 |
]) |
|
121 |
->condition('module', 'ext_links') |
|
122 |
->execute(); |
|
123 |
$tasks_performed[] = "ext_links block configuration updated."; |
|
115 | 124 |
return join("; \n", $tasks_performed); |
116 | 125 |
} |
117 | 126 |
|
Also available in: Unified diff
ref #9659 updating existing ext_link block configurations