- Patch #778608 by Gábor Hojtsy: default theme region can be hidden.
parent
80f911c969
commit
9bab7f62f0
|
@ -2557,7 +2557,7 @@ function system_system_info_alter(&$info, $file, $type) {
|
|||
* A string that is the region name.
|
||||
*/
|
||||
function system_default_region($theme) {
|
||||
$regions = array_keys(system_region_list($theme));
|
||||
$regions = array_keys(system_region_list($theme, REGIONS_VISIBLE));
|
||||
return isset($regions[0]) ? $regions[0] : '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue