color_get_info
modules/color/color.module, строка 75
- Версии
- 5 – 6
color_get_info($theme)
Retrieve the color.module info for a particular theme.
Код
<?php
function color_get_info($theme) {
$path = drupal_get_path('theme', $theme);
$file = $path .'/color/color.inc';
if ($path && file_exists($file)) {
include $file;
return $info;
}
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии