system_default_region
modules/system/system.module, строка 1039
- Версии
- 5 – 6
system_default_region($theme)
Get the name of the default region for a given theme.
Параметры
$theme
The name of a theme.
Возвращаемое значение
A string that is the region name.
Код
<?php
function system_default_region($theme) {
$regions = array_keys(system_region_list($theme));
return $regions[0];
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии